17-14 Intel® PXA26x Processor Family Developer’s Manual
Hardware UART
Note: To ensure that the DMA controller and programmed I/O do not access the same FIFO, s oftware
must not set the DMAE while the TIE or RAVIE bi ts are set to a 1.
17.5.5 Interrupt Identification Register (IIR)
The UART prioritizes interrupts in four levels (see Table17-7, “Interrupt Conditions”) and records
them in the IIR. The IIR stores information that indicates that a prioritized interrupt is pending and
identifies the source of the interrupt. The Interrupt Identific ation Register (IIR) bit definitions are
shown in Table17- 8 on pa ge 17-15.
If additional data is received before a receiver time out interrupt is serviced, the interrupt is
deasserted.
Read IIR to determine the type and source of UART interrupts. To be 16550 compatible, the lower
4 bits of the IIR are priority encoded, shown in Table17-9, “Interrupt Identification Register
Decode” on page17-16. If two or more interrupts represented by these bits occur, o nly the i nterr upt
with the highest priority is displayed. The auto-baud lock interrupt is not priority encoded. It
asserts/deasserts independently of the lower 4 bits.
IIR[nIP] indicates the existence of an interrupt in th e lo wer f our bits of the IIR. A lo w sig nal on th is
bit indicates an encoded interrupt is pending. If this bit is high, no encoded interrupt is pending,
regardless of the state of the other 3 bits. nIP has no effect or association with IIR[ABL], which
asserts/deasserts independently of nIP.
3R/WMIE
MODEM INTERRUPT ENABLE (Source IIR[IID]):
0 – Modem Status Interrupt disabled
1 – Modem Status Interrupt enabled
2R/WRLSE
RECEIVER LINE STATUS INTERRUPT ENABLE (Source IIR[IID]):
0 – Receiver Line Status Interrupt disabled
1 – Receiver Line Status Interrupt enabled
1R/WTIE
TRANSMIT DATA REQUEST INTERRUPT ENABLE (Source IIR[IID]):
0 – Transmit FIFO data request interrupt disabled
1 – Transmit FIFO data request interrupt enabled
0R/WRAVIE
RECEIVER DATA AVAILABLE INTERRUPT ENABLE (Source IIR[IID]):
0 – Receiver data available (trigger threshold reached) interrupt disabled
1 – Receiver data available (trigger threshold reached) interrupt enabled
Table 17-6. IER Bit Definitions (Sheet 2 of 2)
Physical Address
0x4160_0004 Interrupt Enable Reg. (IER) PXA26x Processor Family Hardware
UART
User
Settings
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Reserved
DMAE
UUE
NRZE
RTOIE
MIE
RLSE
TIE
RAVIE
Reset ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 0 0 0 0 0 0 0
Bits Access Name Description