45.7.19 USART Channel Status Register (LIN_MODE)

This configuration is relevant only if USART_MODE = 0xA or 0xB in the USART Mode Register.

Name: US_CSR (LIN_MODE)
Offset: 0x0014
Reset: 0x00000000
Property: Read-only

Bit 3130292827262524 
 LINHTELINSTELINSNRELINCELINIPELINISFELINBE  
Access RRRRRRR 
Reset 0000000 
Bit 2322212019181716 
 LINBLS        
Access R 
Reset 0 
Bit 15141312111098 
 LINTCLINIDLINBK   TXEMPTYTIMEOUT 
Access RRRRR 
Reset 00000 
Bit 76543210 
 PAREFRAMEOVRE   TXRDYRXRDY 
Access RRRRR 
Reset 00000 

Bit 31 – LINHTE LIN Header Timeout Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
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.

Bit 30 – LINSTE LIN Synch Tolerance Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
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.

Bit 29 – LINSNRE LIN Client Not Responding Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No LIN Client not responding error has been detected since the last RSTSTA.

1

A LIN Client not responding error has been detected since the last RSTSTA.

Bit 28 – LINCE LIN Checksum Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No LIN checksum error has been detected since the last RSTSTA.

1

A LIN checksum error has been detected since the last RSTSTA.

Bit 27 – LINIPE LIN Identifier Parity Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
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.

Bit 26 – LINISFE LIN Inconsistent Synch Field Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No LIN inconsistent synch field error has been detected since the last RSTSTA

1

The USART is configured as a Client node and a LIN Inconsistent synch field error has been detected since the last RSTSTA.

Bit 25 – LINBE LIN Bit Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No bit error has been detected since the last RSTSTA.

1

A bit error has been detected since the last RSTSTA.

Bit 23 – LINBLS LIN Bus Line Status

ValueDescription
0

LIN bus line is set to 0.

1

LIN bus line is set to 1.

Bit 15 – LINTC LIN Transfer Completed (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

The USART is idle or a LIN transfer is ongoing.

1

A LIN transfer has been completed since the last RSTSTA.

Bit 14 – LINID LIN Identifier Sent or LIN Identifier Received (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

- If USART operates in LIN Host mode (USART_MODE = 0xA):

No LIN identifier has been sent since the last RSTSTA.

- If USART operates in LIN Client mode (USART_MODE = 0xB):

No LIN identifier has been received since the last RSTSTA.

1

- If USART operates in LIN Host mode (USART_MODE = 0xA):

At least one LIN identifier has been sent since the last RSTSTA.

- If USART operates in LIN Client mode (USART_MODE = 0xB):

At least one LIN identifier has been received since the last RSTSTA

Bit 13 – LINBK LIN Break Sent or LIN Break Received (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

- If USART operates in LIN Host mode (USART_MODE = 0xA):

No LIN break has been sent since the last RSTSTA.

- If USART operates in LIN Client mode (USART_MODE = 0xB):

No LIN break has been received since the last RSTSTA.

1

- If USART operates in LIN Host mode (USART_MODE = 0xA):

At least one LIN break has been sent since the last RSTSTA.

- If USART operates in LIN Client mode (USART_MODE = 0xB):

At least one LIN break has been received since the last RSTSTA.

Bit 9 – TXEMPTY Transmitter Empty (cleared by writing US_THR)

ValueDescription
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.

Bit 8 – TIMEOUT Receiver Timeout (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
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).

Bit 7 – PARE Parity Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No parity error has been detected since the last RSTSTA.

1

At least one parity error has been detected since the last RSTSTA.

Bit 6 – FRAME Framing Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
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.

Bit 5 – OVRE Overrun Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No overrun error has occurred since the last RSTSTA.

1

At least one overrun error has occurred since the last RSTSTA.

Bit 1 – TXRDY Transmitter Ready (cleared by writing US_THR)

ValueDescription
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.

Bit 0 – RXRDY Receiver Ready (cleared by reading US_THR)

ValueDescription
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.