OM13008,598 NXP Semiconductors, OM13008,598 Datasheet - Page 169

no-image

OM13008,598

Manufacturer Part Number
OM13008,598
Description
BOARD LPC XPRESSO LPC122X
Manufacturer
NXP Semiconductors
Series
LPCXpressor
Datasheets

Specifications of OM13008,598

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-6642
OM13008
NXP Semiconductors
UM10441
User manual
10.5.9 UART Scratch Pad Register
Table 171. UART Line Status Register (LSR - address 0x4000 C014, Read Only) bit
The SCR has no effect on the UART operation. This register can be written and/or read at
user’s discretion. There is no provision in the interrupt interface that would indicate to the
host that a read or write of the SCR has occurred.
Bit Symbol
3
4
5
6
7
31:
8
FE
BI
THRE
TEMT
RXFE
-
description
All information provided in this document is subject to legal disclaimers.
Value Description
0
1
0
1
0
1
0
1
0
1
-
Rev. 1.1 — 10 March 2011
…continued
Framing Error. When the stop bit of a received character is a logic
0, a framing error occurs. An LSR read clears LSR[3]. The time of
the framing error detection is dependent on FCR0. Upon
detection of a framing error, the RX will attempt to resynchronize
to the data and assume that the bad stop bit is actually an early
start bit. However, it cannot be assumed that the next received
byte will be correct even if there is no Framing Error.
Note: A framing error is associated with the character at the top
of the UART RBR FIFO.
Framing error status is inactive.
Framing error status is active.
Break Interrupt. When RXD1 is held in the spacing state (all
zeros) for one full character transmission (start, data, parity, stop),
a break interrupt occurs. Once the break condition has been
detected, the receiver goes idle until RXD1 goes to marking state
(all ones). An LSR read clears this status bit. The time of break
detection is dependent on FCR[0].
Note: The break interrupt is associated with the character at the
top of the UART RBR FIFO.
Break interrupt status is inactive.
Break interrupt status is active.
Transmitter Holding Register Empty. THRE is set immediately
upon detection of an empty UART THR and is cleared on a THR
write.
THR contains valid data.
THR is empty.
Transmitter Empty. TEMT is set when both THR and TSR are
empty; TEMT is cleared when either the TSR or the THR contain
valid data.
THR and/or the TSR contains valid data.
THR and the TSR are empty.
Error in RX FIFO. LSR[7] is set when a character with a RX error
such as framing error, parity error or break interrupt, is loaded into
the RBR. This bit is cleared when the LSR register is read and
there are no subsequent errors in the UART FIFO.
RBR contains no UART RX errors or FCR[0]=0.
UART RBR contains at least one UART RX error.
Reserved
Chapter 10: LPC122x UART1
UM10441
© NXP B.V. 2011. All rights reserved.
169 of 442
Reset
value
0
0
1
1
0
-

Related parts for OM13008,598