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
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
UM10
316_
0
©
NXP
B.V
. 2008.
Al
l r
ig
h
ts
r
e
s
e
rv
ed.
User m
anu
al
Rev
. 0
0.06 — 17 D
ecemb
er 2008
272 of
571
N
X
P Semi
conductor
s
UM10316
Cha
pte
r 19:
LPC2
9x
x Un
iv
ers
a
l
Asy
nch
rono
us Rece
iv
er/T
ra
ns
mit
te
r
Table 228. UART Register Map ( base address 0xE004 5000 (UART0) and 0xE004 6000 (UART1))
Generic
Name
Description
Bit functions and addresses
Acces
s
Reset
value
UARTn Register
Name & Address
MSB
LSB
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
RBR
(DLAB=0)
Receiver Buffer
Register
8 bit Read Data
RO
NA
U0RBR - 0xE004 5000
U1RBR - 0xE004 6000
THR
(DLAB=0)
Transmit Holding
Register
8 bit Write Data
WO
NA
U0THR - 0xE004 5000
U1THR - 0xE004 6000
DLL
(DLAB=1)
Divisor Latch
LSB
8 bit Data
R/W
0x01
U0DLL - 0xE004 5000
U1DLL - 0xE004 6000
DLM
(DLAB=1)
Divisor Latch
MSB
8 bit Data
R/W
0x00
U0DLM - 0xE004 5004
U1DLM - 0xE004 6004
IER
(DLAB=0)
Interrupt Enable
Register
Reserved
Enable
Auto- Baud
Time- Out
Interrupt
Enable End
of Auto-
Baud
Interrupt
R/W
0x00
U0IER - 0xE004 5004
U1IER - 0xE004 6004
0
Enable
RX Line
Status
Interrupt
Enable
THRE
Interrupt
Enable RX
Data
Available
Interrupt
IIR
Interrupt ID
Register
Reserved
ABTOInt
ABEOint
RO
0x01
U0IIR - 0xE004 5008
U1IIR - 0xE004 6008
FIFOs Enabled
0
IIR3
IIR2
IIR1
IIR0
FCR
FIFO Control
Register
RX Trigger
Reserved
TX FIFO
Reset
RX FIFO
Reset
FIFO
Enable
WO
0x00
U0FCR - 0xE004 5008
U1FCR - 0xE004 6008
LCR
Line Control
Register
DLAB
Set
Break
Stick
Parity
Even
Parity
Select
Parity
Enable
Number
of Stop
Bits
Word Length Select
R/W
0x00
U0LCR - 0xE004 500C
U1LCR - 0xE004 600C
MCR
Modem Control
Register
Auto
CTSen
Auto
RTSen
-
LoopEn
OUT2
OUT1
RTS
DTR
R/W
0x00
U0MCR - 0xE004 5010
U1MCR - 0xE004 6010
LSR
Line Status
Register
RX
FIFO
Error
TEMT
THRE
BI
FE
PE
OE
DR
RO
0x60
U0LSR - 0xE004 5014
U1LSR - 0xE004 6014
MSR
Modem Status
Register
DCD
RI
DSR
CTS
Delta
DCD
Trailing
Edge RI
Delta DSR
Delta CTS
RO
0x00
U0MSR - 0xE004 5018
U1MSR - 0xE004 6018
SCR
Scratch Pad
Register
8 bit Data
R/W
0x00
U0SCR - 0xE004 501C
U1SCR - 0xE004 601C