© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
123
Philips Semiconductors
UM10139
Volume 1
Chapter 10: UART1
10.3.10 UART1 Modem Control Register (U1MCR - 0xE001 0010),
LPC2144/6/8 only
The U1MCR enables the modem loopback mode and controls the modem output signals.
Auto-flow control (LPC2144/6/8 only)
If auto-RTS mode is enabled the UART1‘s receiver FIFO hardware controls the RTS1
output of the UART1. If the auto-CTS mode is enabled the UART1‘s U1TSR hardware will
only start transmitting if the CTS1 input signal is asserted.
6
Break Control
0
Disable break transmission.
0
1
Enable break transmission. Output pin UART1 TXD is forced to
logic 0 when U1LCR[6] is active high.
7
Divisor Latch
Access Bit (DLAB)
0
Disable access to Divisor Latches.
0
1
Enable access to Divisor Latches.
Table 124: UART1 Line Control Register (U1LCR - address 0xE001 000C) bit description
Bit
Symbol
Value
Description
Reset value
Table 125: UART1 Modem Control Register (U1MCR - address 0xE001 0010), LPC2144/6/8 only 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
3:2
-
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
NA
4
Loopback Mode
Select
0
The modem loopback mode provides a mechanism to perform
diagnostic loopback testing. Serial data from the transmitter is
connected internally to serial input of the receiver. Input pin,
RXD1, has no effect on loopback and output pin, TXD1 is held
in marking state. The four modem inputs (CTS, DSR, RI and
DCD) are disconnected externally. Externally, the modem
outputs (RTS, DTR) are set inactive. Internally, the four modem
outputs are connected to the four modem inputs. As a result of
these connections, the upper four bits of the U1MSR will be
driven by the lower four bits of the U1MCR rather than the four
modem inputs in normal mode. This permits modem status
interrupts to be generated in loopback mode by writing the
lower four bits of U1MCR.
0
Disable modem loopback mode.
1
Enable modem loopback mode.
5:3
-
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
NA
6
RTSen
0
Auto-RTS control bit.
0
Disable auto-RTS flow control.
1
Enable auto-RTS flow control.
7
CTSen
0
Auto-CTS control bit.
0
Disable auto-CTS flow control.
1
Enable auto-CTS flow control.