LH79524/LH79525 User’s Guide
UARTs
Version 1.0
16-7
16.2 Interrupts
UART0, UART1, and UART2 each have a combined interrupt. The individual UART inter-
rupt outputs are ORed together to produce the combined interrupt for that UART. Interrupt
conditions within the combined interrupt are individually maskable. The Vectored Interrupt
Controller (VIC) must be programmed before using the UART interrupts. Refer to
Section 18.1.2 to program the VIC.
16.2.1 UARTINTR
The UARTINTR interrupt is the combined interrupt for each UART. It is asserted if one or
more of the other interrupts are asserted.
16.3 Register Reference
This section provides the UARTs’ register memory mapping and bit fields.
16.3.1 Memory Map
The base address for UART0 is 0xFFFC0000; the base address for UART1 is
0xFFFC1000; the base address for UART2 is 0xFFFC2000. Table 16-2 shows the
memory map for the UART registers
Table 16-2. UART Register Summary
ADDRESS
OFFSET
NAME
DESCRIPTION
0x000
UARTDR
Data Register
0x004
UARTRSR/UARTECR
Receive Status Register (Read)
Error Clear Register (Write)
0x008 - 0x014
///
Reserved — Do not access
0x018
UARTFR
Flag Register
0x01C
///
Reserved — Do not access
0x020
UARTILPR
IrDA Low Power Counter Register
0x024
UARTIBRD
Integer Baud Rate Divisor Register
0x028
UARTFBRD
Fractional Baud Rate Divisor Register
0x02C
UARTLCR_H
Line Control Register, HIGH byte
0x030
UARTCR
Control Register
0x034
UARTIFLS
Interrupt FIFO Level Select Register
0x038
UARTIMSC
Interrupt Mask Set/Clear Register
0x03C
UARTRIS
Raw Interrupt Status Register
0x040
UARTMIS
Masked Interrupt Status Register
0x044
UARTICR
Interrupt Clear Register
0x048
DMACTRL
UART0 DMA Control Register
0x04C - 0x07C
///
Reserved — Do not access
0x080 - 0x08C
///
Reserved — Do not access
0x090 - 0xFFC
///
Reserved — Do not access