DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
279 of 571
NXP Semiconductors
UM10316
Chapter 19: LPC29xx Universal Asynchronous Receiver/Transmitter
4.8 UART0/1 Modem Control Register
The U0/1MCR enables the modem loopback mode and controls the modem output
signals.
Table 237. UARTn Line Control Register (U0LCR - address 0xE004 500C,
U1LCR - 0xE004 600C) bit description
Bit
Symbol
Value Description
Reset
Value
1:0
Word Length
Select
00
5 bit character length
0
01
6 bit character length
10
7 bit character length
11
8 bit character length
2
Stop Bit Select
0
1 stop bit.
0
1
2 stop bits (1.5 if UnLCR[1:0]=00).
3
Parity Enable
0
Disable parity generation and checking.
0
1
Enable parity generation and checking.
5:4
Parity Select
00
Odd parity. Number of 1s in the transmitted character and
the attached parity bit will be odd.
0
01
Even Parity. Number of 1s in the transmitted character and
the attached parity bit will be even.
10
Forced "1" stick parity.
11
Forced "0" stick parity.
6
Break Control
0
Disable break transmission.
0
1
Enable break transmission. Output pin UART0 TXD is
forced to logic 0 when UnLCR[6] is active high.
7
Divisor Latch
Access Bit
(DLAB)
0
Disable access to Divisor Latches.
0
1
Enable access to Divisor Latches.
Table 238: UART0/1 Modem Control Register (U0MCR - address 0xE004 5010,
U1MCR - 0xE004 6010) bit description
Bit
Symbol
Value Description
Reset
value
0
DTR
Control
Source for modem output pin, DTR. This bit reads as 0 when
modem loopback mode is active.
0
1
RTS
Control
Source for modem output pin RTS. This bit reads as 0 when
modem loopback mode is active.
0
2
OUT1
control
inverse control for the UxOUT1 pin.
0
3
OUT2
control
inverse control for the UxOUT2 pin.
0