US_CSR (LON_MODE)

USART Channel Status Register (LON_MODE)

This configuration is relevant only if USART_MODE = 0x9 in the USART Mode Register.

  0x0014 32 Read-only 0x0  

USART Channel Status Register (LON_MODE)

Bit  31 30 29 28 27 26 25 24  
        LBLOVFE LRXD LFET LCOL LTXD  
Access                   
Reset        0 0 0 0 0  
Bit  23 22 21 20 19 18 17 16  
                   
Access                   
Reset                   
Bit  15 14 13 12 11 10 9 8  
            UNRE TXEMPTY    
Access                   
Reset            0 0    
Bit  7 6 5 4 3 2 1 0  
  LCRCE LSFE OVRE       TXRDY RXRDY  
Access                   
Reset  0 0 0       0 0  

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

Receiver Ready (cleared by reading US_RHR)

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 – LSFE: LON Short Frame Error (cleared by writing a one to bit US_CR.RSTSTA)

LON Short Frame Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No short frame received since the last RSTSTA.

1

At least one short frame received since the last RSTSTA.

Bit 7 – LCRCE: LON CRC Error (cleared by writing a one to bit US_CR.RSTSTA)

LON CRC Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No CRC error has been detected since the last RSTSTA.

1

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

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

Underrun Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No LON underrun error has occurred since the last RSTSTA.

1

At least one LON underrun error has occurred since the last RSTSTA.

Bit 24 – LTXD: LON Transmission End Flag (cleared by writing a one to bit US_CR.RSTSTA)

LON Transmission End Flag (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

Transmission on going or no transmission occurred since the last RSTSTA.

1

At least one transmission has been performed since the last RSTSTA.

Bit 25 – LCOL: LON Collision Detected Flag (cleared by writing a one to bit US_CR.RSTSTA)

LON Collision Detected Flag (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No collision occurred while transmitting since the last RSTSTA.

1

At least one collision occurred while transmitting since the last RSTSTA.

Bit 26 – LFET: LON Frame Early Termination (cleared by writing a one to bit US_CR.RSTSTA)

LON Frame Early Termination (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No frame has been terminated early due to collision detection since the last RSTSTA.

1

At least one transmission has been terminated due to collision detection since the last RSTSTA. (This stops the DMA until reset with RSTSTA bit).

Bit 27 – LRXD: LON Reception End Flag (cleared by writing a one to bit US_CR.RSTSTA)

LON Reception End Flag (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

Reception on going or no reception occurred since the last RSTSTA.

1

At least one reception has been performed since the last RSTSTA.

Bit 28 – LBLOVFE: LON Backlog Overflow Error (cleared by writing a one to bit US_CR.RSTSTA)

LON Backlog Overflow Error (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No backlog overflow error occurred since the last RSTSTA.

1

At least one backlog error overflow occurred since the last RSTSTA.