![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1163](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271163.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
1163 of 1441
NXP Semiconductors
UM10503
Chapter 41: LPC43xx/LPC43Sxx UART1
41.6.8 UART1 Modem Control Register
The MCR enables the modem loopback mode and controls the modem output signals.
Table 960: UART1 Line Control Register (LCR, address 0x4008 200C) 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 UART1 TXD is forced to
logic 0 when LCR[6] is active high.
7
DLAB
Divisor Latch Access Bit (DLAB)
0
0
Disabled. Disable access to Divisor Latches.
1
Enabled. Enable access to Divisor Latches.
31:8
-
Reserved, user software should not write ones to reserved bits. The value
read from a reserved bit is not defined.
NA
Table 961: UART1 Modem Control Register (MCR, address 0x4008 2010) bit description
Bit
Symbol
Value Description
Reset
value
0
DTRCTRL
-
DTR Control.
Source for modem output pin, DTR. This bit reads as 0 when modem loopback mode
is active.
0
1
RTSCTRL
-
RTS Control.
Source for modem output pin RTS. This bit reads as 0 when modem loopback mode is
active.
0
3:2
-
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
0