USART Channel Status Register (LIN_MODE)
This configuration is relevant only if USART_MODE = 0xA or 0xB in the USART Mode Register.
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
LINHTE | LINSTE | LINSNRE | LINCE | LINIPE | LINISFE | LINBE | |||
Access | |||||||||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
LINBLS | |||||||||
Access | |||||||||
Reset | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
LINTC | LINID | LINBK | TXEMPTY | TIMEOUT | |||||
Access | |||||||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
PARE | FRAME | OVRE | TXRDY | RXRDY | |||||
Access | |||||||||
Reset | 0 | 0 | 0 | 0 | 0 |
Receiver Ready (cleared by reading US_THR)
Value | Description |
---|---|
0 | No complete character has been received since the last read of US_RHR or the receiver is disabled. If characters were being received when the receiver was disabled, RXRDY changes to 1 when the receiver is enabled. |
1 | At least one complete character has been received and US_RHR has not yet been read. |
Transmitter Ready (cleared by writing US_THR)
Value | Description |
---|---|
0 | A character is in the US_THR waiting to be transferred to the Transmit Shift Register or the transmitter is disabled. As soon as the transmitter is enabled, TXRDY becomes 1. |
1 | There is no character in the US_THR. |
Overrun Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No overrun error has occurred since the last RSTSTA. |
1 | At least one overrun error has occurred since the last RSTSTA. |
Framing Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No stop bit has been detected low since the last RSTSTA. |
1 | At least one stop bit has been detected low since the last RSTSTA. |
Parity Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No parity error has been detected since the last RSTSTA. |
1 | At least one parity error has been detected since the last RSTSTA. |
Receiver Timeout (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | There has not been a timeout since the last start timeout command (STTTO in US_CR) or the Timeout Register is 0. |
1 | There has been a timeout since the last start timeout command (STTTO in US_CR). |
Transmitter Empty (cleared by writing US_THR)
Value | Description |
---|---|
0 | There are characters in either US_THR or the Transmit Shift Register, or the transmitter is disabled. |
1 | There are no characters in US_THR, nor in the Transmit Shift Register. |
LIN Break Sent or LIN Break Received (cleared by writing a one to bit US_CR.RSTSTA)
Applicable if USART operates in LIN master mode (USART_MODE = 0xA):
If USART operates in LIN Slave mode (USART_MODE = 0xB):
Value | Description |
---|---|
0 | No LIN break has been sent since the last RSTSTA. |
1 | At least one LIN break has been sent since the last RSTSTA |
0 | No LIN break has received sent since the last RSTSTA. |
1 | At least one LIN break has been received since the last RSTSTA. |
LIN Identifier Sent or LIN Identifier Received (cleared by writing a one to bit US_CR.RSTSTA)
If USART operates in LIN Master mode (USART_MODE = 0xA):
If USART operates in LIN Slave mode (USART_MODE = 0xB):
Value | Description |
---|---|
0 | No LIN identifier has been sent since the last RSTSTA. |
1 | At least one LIN identifier has been sent since the last RSTSTA. |
0 | No LIN identifier has been received since the last RSTSTA. |
1 | At least one LIN identifier has been received since the last RSTSTA |
LIN Transfer Completed (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | The USART is idle or a LIN transfer is ongoing. |
1 | A LIN transfer has been completed since the last RSTSTA. |
LIN Bus Line Status
Value | Description |
---|---|
0 | LIN bus line is set to 0. |
1 | LIN bus line is set to 1. |
LIN Bit Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No bit error has been detected since the last RSTSTA. |
1 | A bit error has been detected since the last RSTSTA. |
LIN Inconsistent Synch Field Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No LIN inconsistent synch field error has been detected since the last RSTSTA |
1 | The USART is configured as a slave node and a LIN Inconsistent synch field error has been detected since the last RSTSTA. |
LIN Identifier Parity Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No LIN identifier parity error has been detected since the last RSTSTA. |
1 | A LIN identifier parity error has been detected since the last RSTSTA. |
LIN Checksum Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No LIN checksum error has been detected since the last RSTSTA. |
1 | A LIN checksum error has been detected since the last RSTSTA. |
LIN Slave Not Responding Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No LIN slave not responding error has been detected since the last RSTSTA. |
1 | A LIN slave not responding error has been detected since the last RSTSTA. |
LIN Synch Tolerance Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No LIN synch tolerance error has been detected since the last RSTSTA. |
1 | A LIN synch tolerance error has been detected since the last RSTSTA. |
LIN Header Timeout Error (cleared by writing a one to bit US_CR.RSTSTA)
Value | Description |
---|---|
0 | No LIN header timeout error has been detected since the last RSTSTA. |
1 | A LIN header timeout error has been detected since the last RSTSTA. |