UART/IrDA Control and Status Registers
12-52
12.7 UART/IrDA Control and Status Registers
Each register is selected using a combination of address and some LCR
register bit settings, as shown in Table 12–43.
UART3 is accessible as follows:
-
MPU (32-bit aligned byte address) from the following base address:
J
UART3: 0xFFFB 9800
-
DSP (16-bit aligned word address) from the following base address:
J
UART3: 0x00CC00
Table 12–43. UART IrDA Register Program
Registers
MPU
Byte
Off-
DSP
Byte
Off-
LCR[7] = 0
LCR[7] = 1
LCR[7:0]
≠
0xBF
LCR[7:0] = 0xBF
Off-
set
Off-
set
READ
WRITE
READ
WRITE
READ
WRITE
0x00
0x00
RHR
THR
DLL
DLL
DLL
DLL
0x04
0x02
IER
†
IER
†
DLH
DLH
DLH
DLH
0x08
0x04
IIR
FCR
‡
IIR
FCR
‡
EFR
EFR
0x0C
0x06
LCR
LCR
LCR
LCR
LCR
LCR
0x10
0x08
MCR
‡
MCR
‡
MCR
‡
MCR
‡
XON1/ADDR1
XON1/ADDR1
0x14
0x0A
LSR
-
LSR
-
XON2/ADDR2
XON2/ADDR2
0x18
0x0C
MSR/TCR
§
TCR
§
MSR/TCR
§
TCR
§
XOFF1/TCR
§
XOFF1/TCR
§
0x1C
0x0E
SPR/TLR
§
SPR/TLR
§
SPR/TLR
§
SPR/TLR
§
XOFF2/TLR
§
XOFF2/TLR
§
0x20
0x10
MDR1
MDR1
MDR1
MDR1
MDR1
MDR1
0x24
0x12
MDR2
MDR2
MDR2
MDR2
MDR2
MDR2
0x28
0x14
SFLSR
TXFLL
SFLSR
TXFLL
SFLSR
TXFLL
0x2C
0x16
RESUME
TXFLH
RESUME
TXFLH
RESUME
TXFLH
0x30
0x18
SFREGL
RXFLL
SFREGL
RXFLL
SFREGL
RXFLL
0x34
0x1A
SFREGH
RXFLH
SFREGH
RXFLH
SFREGH
RXFLH
† In UART mode, IER[7:4] can only be written when EFR[4] = 1. In SIR mode, EFR[4] has no impact on the access to IER[7:4].
‡ MCR[7:5] and FCR[5:4] can only be written when EFR[4] = 1.
§ Transmission control register (TCR) and trigger level register (TLR) are accessible only when EFR[4] = 1 and MCR[6] = 1.