34.6.5.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.
TXTRHOLD | Name | Description |
---|---|---|
0 | DEFAULT | Interrupt and DMA triggers can be generated as long as the FIFO is not full. |
1 | HALF | Interrupt and DMA triggers are generated when half FIFO space is free. |
2 | EMPTY | Interrupt and DMA triggers are generated when the FIFO is empty. |
3 | - | 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.
RXTRHOLD | Name | Description |
---|---|---|
0 | DEFAULT | Interrupt and DMA triggers can be generated when a DATA is present in the FIFO. |
1 | HALF | Interrupt and DMA triggers can be generated only when the FIFO is half-full. |
2 | FULL | Interrupt and DMA triggers can be generated only when the FIFO is full. |
3 | - | Reserved |
Bit 27 – FIFOEN FIFO Enable
This bit enables the FIFO operation.
Value | Description |
---|---|
0 | FIFO operation is disabled |
1 | 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.
These bits also define the successive NACKs sent to the remote transmitter when CTRLC.DSNACK is set.
This field is only valid when using ISO7816 T=0 mode (CTRLA.FORM=0x7 and CTRLA.CMODE=1).
Bit 17 – DSNACK Disable Successive Not Acknowledge
This bit controls how many times NACK will be sent on parity error reception.
This bit is only valid in ISO7816 T=0 mode and when INACK=0.
Value | Description |
---|---|
0 | NACK is sent on the ISO line for every parity error received. |
1 | Successive parity errors are counted up to the value specified in CTRLC.MAXITER. These parity errors generate a NACK on the ISO line. As soon as this value is reached, no additional NACK is sent on the ISO line. |
Bit 16 – INACK Inhibit Not Acknowledge
This bit controls whether a NACK is transmitted when a parity error is received.
This bit is only valid in ISO7816 T=0 mode.
Value | Description |
---|---|
0 | NACK is transmitted when a parity error is received. |
1 | NACK is not transmitted when a parity error is received. |
Bits 11:10 – HDRDLY[1:0] LIN Host Header Delay
This field is only valid when using the LIN header command (CTRLB.LINCMD=0x2).
Value | Description |
---|---|
0x0 |
Delay between break and sync transmission is 1 bit time. Delay between sync and ID transmission is 1 bit time. |
0x1 |
Delay between break and sync transmission is 4 bit time. Delay between sync and ID transmission is 4 bit time. |
0x2 |
Delay between break and sync transmission is 8 bit time. Delay between sync and ID transmission is 4 bit time. |
0x3 |
Delay between break and sync transmission is 14 bit time. Delay between sync and ID transmission is 4 bit time. |
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 pin (TE) 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.