US_CSR

USART Channel Status Register

For SPI specific configuration, see “USART Channel Status Register (SPI_MODE)”.

For LIN specific configuration, see “USART Channel Status Register (LIN_MODE)”.

For LON specific configuration, see “USART Channel Status Register (LON_MODE)”.

  0x0014 32 Read-only 0x0  

USART Channel Status Register

Bit  31 30 29 28 27 26 25 24  
                MANERR  
Access                   
Reset                0  
Bit  23 22 21 20 19 18 17 16  
  CTS DCD DSR RI CTSIC DCDIC DSRIC RIIC  
Access                   
Reset  0 0 0 0 0 0 0 0  
Bit  15 14 13 12 11 10 9 8  
      NACK     ITER TXEMPTY TIMEOUT  
Access                   
Reset      0     0 0 0  
Bit  7 6 5 4 3 2 1 0  
  PARE FRAME OVRE     RXBRK TXRDY RXRDY  
Access                   
Reset  0 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 an STTBRK command has been requested, 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 2 – RXBRK: Break Received/End of Break (cleared by writing a one to bit US_CR.RSTSTA)

Break Received/End of Break (cleared by writing a one to bit US_CR.RSTSTA)

ValueDescription
0

No break received or end of break detected since the last RSTSTA.

1

Break received or end of break detected since the last RSTSTA.

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

Receiver Timeout (cleared by writing a one to bit US_CR.STTTO)

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 10 – ITER: Max Number of Repetitions Reached (cleared by writing a one to bit US_CR.RSTIT)

Max Number of Repetitions Reached (cleared by writing a one to bit US_CR.RSTIT)

ValueDescription
0

Maximum number of repetitions has not been reached since the last RSTIT.

1

Maximum number of repetitions has been reached since the last RSTIT.

Bit 13 – NACK: Non Acknowledge Interrupt (cleared by writing a one to bit US_CR.RSTNACK)

Non Acknowledge Interrupt (cleared by writing a one to bit US_CR.RSTNACK)

ValueDescription
0

Non acknowledge has not been detected since the last RSTNACK.

1

At least one non acknowledge has been detected since the last RSTNACK.

Bit 16 – RIIC: Ring Indicator Input Change Flag (cleared on read)

Ring Indicator Input Change Flag (cleared on read)

ValueDescription
0

No input change has been detected on the RI pin since the last read of US_CSR.

1

At least one input change has been detected on the RI pin since the last read of US_CSR.

Bit 17 – DSRIC: Data Set Ready Input Change Flag (cleared on read)

Data Set Ready Input Change Flag (cleared on read)

ValueDescription
0

No input change has been detected on the DSR pin since the last read of US_CSR.

1

At least one input change has been detected on the DSR pin since the last read of US_CSR.

Bit 18 – DCDIC: Data Carrier Detect Input Change Flag (cleared on read)

Data Carrier Detect Input Change Flag (cleared on read)

ValueDescription
0

No input change has been detected on the DCD pin since the last read of US_CSR.

1

At least one input change has been detected on the DCD pin since the last read of US_CSR.

Bit 19 – CTSIC: Clear to Send Input Change Flag (cleared on read)

Clear to Send Input Change Flag (cleared on read)

ValueDescription
0

No input change has been detected on the CTS pin since the last read of US_CSR.

1

At least one input change has been detected on the CTS pin since the last read of US_CSR.

Bit 20 – RI: Image of RI Input

Image of RI Input

ValueDescription
0

RI input is driven low.

1

RI input is driven high.

Bit 21 – DSR: Image of DSR Input

Image of DSR Input

ValueDescription
0

DSR input is driven low.

1

DSR input is driven high.

Bit 22 – DCD: Image of DCD Input

Image of DCD Input

ValueDescription
0

DCD input is driven low.

1

DCD input is driven high.

Bit 23 – CTS: Image of CTS Input

Image of CTS Input

ValueDescription
0

CTS input is driven low.

1

CTS input is driven high.

Bit 24 – MANERR: Manchester Error (cleared by writing a one to the bit US_CR.RSTSTA)

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

ValueDescription
0

No Manchester error has been detected since the last RSTSTA.

1

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