7-4
UART
7.2.1 UART Register Summary
The system programmer may access any of the UART registers summarized in Table 71. via the
processor. These registers control the UART operations including transmission and reception of data. Each
register bit in the table has its name and reset state shown.
Table 71. Summary of UART Registers (Big Endian Notation)
Register
Name
A
d
d
r
e
s
s
a
a. DLAB concatenated with LTADR2 through LTADR0.
A
l
i
a
s
Function of Each Bit
0 1
2
3
4
5
6
7
Receiver Buffer
Register (read only)
0000
RBR
Data
Bit 0
Data
Bit 1
Data
Bit2
Data
Bit 3
Data
Bit 4
Data
Bit 5
Data
Bit 6
Data
Bit 7
b
b. Bit 7 is the least significant bit (lsb). It is the first bit serially transmitted and received.
Transmitter Holding
Register (write only)
0000
THR
Data
Bit 0
Data
Bit 1
Data
Bit 2
Data
Bit 3
Data
Bit 4
Data
Bit 5
Data
Bit 6
Data
Bit 7
Interrupt Enable
Register (read and
write)
0001
IER
0
0
0
0
0
Enable
Receiver
Line
Status
Interrupt
(ELSI)
Enable
Transmitter
Holding
Register
Empty
Interrupt
(ETHREI)
Enable
Receive
Data
Available
Interrupt
(ERDAI)
Interrupt Identification
Register (read only)
X010
IIR
FIFOs
Enabled
FIFOs
Enabled
0
0
InterruptID
Bit 2
c
c. This bit is always zero in character mode.
d. The only valid bit of the MCR in this two-wire implementation of the UART is MCR bit 4, the Loopback Mode bit, which can be used for diagnostic purposes.
Note: Register bit definitions are shown in big-endian notation. (bit 7 is lsb and bit 0 is msb.)
Interrupt ID
Bit 1
Interrupt
ID
Bit 0
“0” if
Interrupt
Pending
FIFO Control Register
(write only)
X010
FCR
RCVR
Trigger
(MSB)
RCVR
Trigger
(LSB)
Reserved
Reserved
DMA
Mode
Select
XMIT
FIFO
Reset
RCVR
FIFO
Reset
FIFO
Enable
Line Control Register
(read and write)
X011
LCR
Divisor
Latch
Access
Bit
(DLAB)
Set Break
Stick Parity
Even
Parity
Select
(EPS)
Parity
Enable
(PEN)
Number
of Stop
Bits
(STB)
Word
Length
Select
Bit 1 (WLS1)
Word
Length
Select
Bit 0
(WLS0)
Modem Control
Register (read and
write)
d
X100
MCR
Reserved
Reserved
Reserved
Reserved
Loopback
Mode
Reserved
Reserved
Reserved
Line Status Register
(read and write)
X101
LSR
Error in
Receiver
FIFO
TransmitterE
mpty
(TEMT)
Transmitter
Holding
Register
(THRE)
Break
Interrupt
(BI)
FramingErr
or
(FE)
Parity
Error
(PE)
Overrun Error
(OE)
Data
Ready
(DR)
Scratch Register (read
and write)
X111
SCR
Data
Bit 0
Data
Bit 1
Data
Bit2
Data
Bit 3
Data
Bit 4
Data
Bit5
Data
Bit6
Data
Bit 7
Divisor Latch (LSB)
(read and write)
1000
DLL
Data
Bit 8
Data
Bit 9
Data
Bit 10
Data
Bit 11
Data
Bit 12
Data
Bit 13
Data
Bit 14
Data
Bit 15
Divisor Latch (MSB)
(read and write)
1001
DLM
Data
Bit 0
Data
Bit 1
Data
Bit 2
Data
Bit 3
Data
Bit 34
Data
Bit 5
Data
Bit 6
Data
Bit 7
Содержание CPC700
Страница 1: ...CPC700 Memory Controller and PCI Bridge User s Manual Version 1 1 Issue Date 3 22 00 Preliminary...
Страница 10: ...Table of Contents x Table of Contents...
Страница 16: ...Tables xvi List of Tables...
Страница 28: ...1 12 CPC700 User s Manual Preliminary...
Страница 72: ...3 36 Processor Interface...
Страница 132: ...4 60 Memory Controller...
Страница 184: ...5 52 PCI Interface...
Страница 194: ...6 10 Clock Power Management and Reset...
Страница 224: ...8 18 IIC...
Страница 244: ...10 10 Interrupt Controller...
Страница 246: ...I 11 2 JTAG...
Страница 250: ...12 4 Processor Local Bus PLB...
Страница 262: ...14 10 Register Summary...
Страница 267: ...CPC700 User s Manual Preliminary...