DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
174 of 313
NXP Semiconductors
UM10601
Chapter 15: LPC800 USART0/1/2
15.6.3 USART Status register
The STAT register primarily provides a complete set of USART status flags for software to
read. Flags other than read-only flags may be cleared by writing ones to corresponding
bits of STAT.
The error flags (for received noise, parity error, framing error, and overrun) are set
immediately upon detection and remain set until cleared by software action in STAT.
Table 160. USART Status register (STAT, address 0x4006 4008 (USART0), 0x4006 8008 (USART1), 0x4006
C008(USART2)) bit description
Bit
Symbol
Description
Reset
value
Acces
s
0
RXRDY
Receiver Ready flag. When 1, indicates that data is available to be read from the
receiver buffer. Cleared after a read of the RXDATA or RXDATASTAT registers.
0
RO
1
RXIDLE
Receiver Idle. When 0, indicates that the receiver is currently in the process of
receiving data. When 1, indicates that the receiver is not currently in the process
of receiving data.
1
RO
2
TXRDY
Transmitter Ready flag. When 1, this bit indicates that data may be written to the
transmit buffer. Previous data may still be in the process of being transmitted.
Cleared when data is written to TXDATA until the data is moved to the transmit
shift register.
1
RO
3
TXIDLE
Transmitter Idle. When 0, indicates that the transmitter is currently in the process
of sending data.When 1, indicate that the transmitter is not currently in the
process of sending data.
1
RO
4
CTS
This bit reflects the current state of the CTS signal, regardless of the setting of
the CTSEN bit in the CFG register. This will be the value of the CTS input pin
unless loopback mode is enabled.
NA
RO
5
DELTACTS
This bit is set when a change in the state is detected for the CTS flag above. This
bit is cleared by software.
0
W1
6
TXDISINT
Transmitter Disabled Interrupt flag. When 1, this bit indicates that the USART
transmitter is fully idle after being disabled via the TXDIS in the CFG register
(TXDIS = 1).
0
RO
7
-
Reserved. Read value is undefined, only zero should be written.
NA
NA
8
OVERRUNINT
Overrun Error interrupt flag. This flag is set when a new character is received
while the receiver buffer is still in use. If this occurs, the newly received character
in the shift register is lost.
0
W1
9
-
Reserved. Read value is undefined, only zero should be written.
NA
NA
10
RXBRK
Received Break. This bit reflects the current state of the receiver break detection
logic. It is set when the Un_RXD pin remains low for 16 bit times. Note that
FRAMERRINT will also be set when this condition occurs because the stop bit(s)
for the character would be missing. RXBRK is cleared when the Un_RXD pin
goes high.
0
RO
11
DELTARXBRK
This bit is set when a change in the state of receiver break detection occurs.
Cleared by software.
0
W1
12
START
This bit is set when a start is detected on the receiver input and subsequently
confirmed by a mid-bit sample. Its purpose is primarily to allow wakeup from
Power-down mode immediately when a start is detected. Cleared by software.
0
W1