US_CSR (LIN_MODE)

USART Channel Status Register (LIN_MODE)

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

  0x0014 32 Read-only 0x0  

USART Channel Status Register (LIN_MODE)

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  

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

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.

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

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 5 – OVRE: Overrun Error (cleared by writing a one to bit US_CR.RSTSTA)

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 6 – FRAME: Framing Error (cleared by writing a one to bit US_CR.RSTSTA)

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 7 – PARE: Parity Error (cleared by writing a one to bit US_CR.RSTSTA)

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 8 – TIMEOUT: Receiver Timeout (cleared by writing a one to bit US_CR.RSTSTA)

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 9 – TXEMPTY: Transmitter Empty (cleared by writing US_THR)

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 13 – LINBK: LIN Break Sent or LIN Break Received (cleared by writing a one to bit US_CR.RSTSTA)

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):

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

Bit 14 – LINID: LIN Identifier Sent or LIN Identifier Received (cleared by writing a one to bit US_CR.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):

ValueDescription
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

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

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 23 – LINBLS: LIN Bus Line Status

LIN Bus Line Status

ValueDescription
0

LIN bus line is set to 0.

1

LIN bus line is set to 1.

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

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 26 – LINISFE: LIN Inconsistent Synch Field Error (cleared by writing a one to bit US_CR.RSTSTA)

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 slave node and a LIN Inconsistent synch field 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)

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 28 – LINCE: LIN Checksum Error (cleared by writing a one to bit US_CR.RSTSTA)

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 29 – LINSNRE: LIN Slave Not Responding Error (cleared by writing a one to bit US_CR.RSTSTA)

LIN Slave Not Responding Error (cleared by writing a one to bit US_CR.RSTSTA)

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

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

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 31 – LINHTE: LIN Header Timeout Error (cleared by writing a one to bit US_CR.RSTSTA)

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.