35.6.8.3 Control C
Symbol | Description | Symbol | Description | Symbol | Description |
---|---|---|---|---|---|
R | Readable bit | HC | Cleared by Hardware | (Grey cell) | Unimplemented |
W | Writable bit | HS | Set by Hardware | X | Bit is unknown at Reset |
K | Write to clear | S | Software settable bit | — | — |
Name: | CTRLC |
Offset: | 0x08 |
Reset: | 0x00000000 |
Property: | PAC Write-Protection, Enable-Protected |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
TXTRHOLD[1:0] | RXTRHOLD[1:0] | FIFOEN | DATA32B[1:0] | ||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
MAXITER[2:0] | DSNACK | INACK | |||||||
Access | R/W | R/W | R/W | R/W | R/W | ||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
HDRDLY[1:0] | BRKLEN[1:0] | ||||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
GTIME[2:0] | |||||||||
Access | R/W | R/W | R/W | ||||||
Reset | 0 | 0 | 0 |
Bits 31:30 – TXTRHOLD[1:0] Transmit FIFO Threshold
These bits define the threshold for generating the Data Register Empty interrupt and DMA TX trigger.
Value | Name | Description |
---|---|---|
0x0 | DEFAULT | Interrupt and DMA triggers can be generated as long as the FIFO is not full. |
0x1 | HALF | Interrupt and DMA triggers are generated when half FIFO space is free. |
0x2 | EMPTY | Interrupt and DMA triggers are generated when the FIFO is empty. |
0x3 | - | Reserved |
Bits 29:28 – RXTRHOLD[1:0] Receive FIFO Threshold
These bits define the threshold for generating the RX Complete interrupt and DMA RX trigger.
Value | Name | Description |
---|---|---|
0x0 | DEFAULT | Interrupt and DMA triggers can be generated as long as the FIFO is not full. |
0x1 | HALF | Interrupt and DMA triggers are generated when half FIFO space is free. |
0x2 | FULL | Interrupt and DMA triggers can be generated only when the FIFO is full. |
0x3 | - | Reserved |
Bit 27 – FIFOEN FIFO Enable
This bit enables the FIFO operation.
Value | Description |
---|---|
0x0 | FIFO operation is disabled |
0x1 | FIFO operation is enabled |
Bits 25:24 – DATA32B[1:0] Data 32 Bit
These bits configure 32-bit Extension for read and write transactions to the DATA register.
When disabled, access is according to CTRLB.CHSIZE.
Value | Description |
---|---|
0x0 | DATA reads (for received data) and writes (for transmit data) according to CTRLB.CHSIZE. |
0x1 |
DATA reads according to CTRLB.CHSIZE. DATA writes using 32-bit Extension |
0x2 |
DATA reads using 32-bit Extension. DATA writes according to CTRLB.CHSIZE. |
0x3 | DATA reads and writes using 32-bit Extension. |
Bits 22:20 – MAXITER[2:0] Maximum Iterations
These bits define the maximum number of retransmit iterations in ISO-7816 mode, CTRLA.FORM = 0x7.
These bits also define the successive NACKs sent to the remote transmitter when CTRLC.DSNACK is set.
Value | Description |
---|---|
0x0 | Reserved |
0x1 | 1 maximum successive NACK |
0x2 | 2 maximum successive NACKs |
0x3 | 3 maximum successive NACKs |
0x4 | 4 maximum successive NACKs |
0x5 | 5 maximum successive NACKs |
0x6 | 6 maximum successive NACKs |
0x7 | 7 maximum successive NACKs |
Bit 17 – DSNACK Disable Successive Not Acknowledge
This bit controls how many times NACK will be sent on parity error reception in ISO-7816 mode, CTRLA.FORM = 0x7.
Value | Description |
---|---|
0x0 | NACK is sent on the shared Tx/Rx ISO line for every parity error received. |
0x1 | Successive parity errors are counted up to the value specified in CTRLC.MAXITER. These parity errors generate a NACK on the shared Tx/Rx ISO line. As soon as this value is reached, no additional NACK is sent on the ISO line. |
- This bit is only valid in ISO7816 T = 0 mode, CTRLA.FORM = 0x7, and when CTRLC.INACK = 0x0. However, CTRLC.INACK = 1 takes priority over disable successive receive NACK CTRLC.DSNACK = 1.
- Parity error, STATUS.PERR = 0x1, will be set.
Bit 16 – INACK Inhibit Not Acknowledge
This bit controls whether a NACK is transmitted when a parity error is received.
Value | Description |
---|---|
0x0 | NACK is transmitted when a parity error (STATUS.PERR = 0x1) is received |
0x1 | NACK is not transmitted when a parity error (STATUS.PERR = 0x1) is received |
Bits 11:10 – HDRDLY[1:0] LIN Host Header Delay
Value | Description |
---|---|
0x0 | Delay between break and sync transmission is 1 bit time.
(CTRLB.LINCMD = 0x1) Delay between break, sync and ID transmission is 1 bit time. (CTRLB.LINCMD = 0x2) |
0x1 | Delay between break and sync transmission is 4 bit time.
(CTRLB.LINCMD = 0x1) Delay between sync and ID transmission is 4 bit time. (CTRLB.LINCMD = 0x2) |
0x2 | Delay between break and sync transmission is 8 bit time.
(CTRLB.LINCMD = 0x1) Delay between sync and ID transmission is 4 bit time. (CTRLB.LINCMD = 0x2) |
0x3 | Delay between break and sync transmission is 14 bit time.
(CTRLB.LINCMD = 0x1) Delay between sync and ID transmission is 4 bit time. (CTRLB.LINCMD = 0x2) |
Bits 9:8 – BRKLEN[1:0] LIN Host Break Length
Value | Description |
---|---|
0x0 | Break field transmission is 13 bit times |
0x1 | Break field transmission is 17 bit times. |
0x2 | Break field transmission is 21 bit times. |
0x3 | Break field transmission is 26 bit times. |
Bits 2:0 – GTIME[2:0] Guard Time
These bits define the guard time when using RS485 mode (CTRLA.FORM = 0x0 or CTRLA.FORM = 0x1, and CTRLA.TXPO = 0x3) or ISO7816 mode (CTRLA.FORM = 0x7).
For RS485 mode, the guard time is programmable from 0-7 bit times and defines the time that the transmit enable (TE) pin remains high after the last stop bit is transmitted and there is no remaining data to be transmitted.
For ISO7816 T = 0 mode, the guard time is programmable from 2-9 bit times and defines the guard time between each transmitted byte.
Value | RS485 Bit Times (CTRLA.FORM = 0x0,0x1 and TXPO = 0x3) | ISO 7816 Bit Times (CTRLA.FORM = 0x7, TXPO = 0x0) |
---|---|---|
0x0 | 0 | 2 |
0x1 | 1 | 3 |
0x2 | 2 | 4 |
0x3 | 3 | 5 |
0x4 | 4 | 6 |
0x5 | 5 | 7 |
0x6 | 6 | 8 |
0x7 | 7 | 9 |