![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1129](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271129.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1129 of 1441
NXP Semiconductors
UM10503
Chapter 40: LPC43xx/LPC43Sxx USART0_2_3
40.6.8 USART Line Status Register
The LSR is a Read Only register that provides status information on the USART TX and
RX blocks.
Table 933. USART Line Control Register (LCR, addresses 0x4008 100C (USART0), 0x400C
100C (USART2), 0x400C 200C (USART3)) bit description
Bit
Symbol Value Description
Reset
Value
1:0
WLS
Word Length Select.
0
0x0
5-bit character length.
0x1
6-bit character length.
0x2
7-bit character length.
0x3
8-bit character length.
2
SBS
Stop Bit Select.
0
0
1 stop bit.
1
2 stop bits (1.5 if LCR[1:0]=00).
3
PE
Parity Enable
0
0
Disable parity generation and checking.
1
Enable parity generation and checking.
5:4
PS
Parity Select.
0
0x0
Odd parity. Number of 1s in the transmitted character and the
attached parity bit will be odd.
0x1
Even Parity. Number of 1s in the transmitted character and the
attached parity bit will be even.
0x2
Force HIGH. Forced 1 stick parity.
0x3
Force LOW. Forced 0 stick parity.
6
BC
Break Control.
0
0
Disabled. Disable break transmission.
1
Enabled. Enable break transmission. Output pin USART TXD is
forced to logic 0 when LCR[6] is active high.
7
DLAB
Divisor Latch Access Bit.
0
0
Disabled. Disable access to Divisor Latches.
1
Enabled. Enable access to Divisor Latches.
31:
8
-
-
Reserved
-
Table 934. USART Line Status Register Read Only (LSR, addresses 0x4008 1014 (USART0),
0x400C 1014 (USART2), 0x400C 2014 (USART3)) bit description
Bit Symbol
Value
Description
Reset
Value
0
RDR
Receiver Data Ready.
LSR[0] is set when the RBR holds an unread character and is
cleared when the USART RBR FIFO is empty.
0
0
Empty. RBR is empty.
1
Data. RBR contains valid data.