Table 3-2. Interrupt Indication And Prioritization Of Interrupt Sources (Bits 3 To 0 Of Iir) - Renesas EMMA Mobile 1 User Manual

Multimedia processor for mobile applications uart interface
Table of Contents

Advertisement

Table 3-2. Interrupt Indication and Prioritization of Interrupt Sources (Bits 3 to 0 of IIR)

IIR[3:0]
Priority
0001 (1h)
None
None
0110 (6h)
1
Reception error
(receiver line status)
0100 (4h)
2
Reception completion
(received data available)
1100 (Ch)
Timeout
0010 (2h)
3
Transmit buffer empty
(transmit hold register (THR)
empty)
0000 (0h)
4
Modem status
Caution A transmit buffer empty interrupt (bits 3 to 0 of IIR register = 0010) is canceled by reading the IIR
register or writing data to the transmit hold register (THR) or transmit FIFO. Specifically, the
following operation is performed for reading the IIR register.
If the transmit buffer is empty when the IIR register is read to check the interrupt source, the read
operation masks the transmit buffer empty interrupt and this interrupt no longer occurs. This
masking is canceled when data is written to the transmit buffer, and the subsequent transmit
buffer empty interrupts are output.
CHAPTER 3 REGISTERS
Interrupt Type
None
When at least one of the following
occurs:
 Overrun
 Parity error
 Framing error
 Break interrupt
 In non-FIFO mode
When data reception in the receive
buffer register is completed
 In FIFO mode
When the amount of data in the
receive FIFO exceeds the trigger
level
When data reception timed out while
the receive FIFO was used
Transmit hold register (THR) or
transmit FIFO is empty
When at least one of the following
occurs:
 CTS
 DSR (internal signal)
 DCD (internal signal)
 Trailing edge RI (internal signal)
User's Manual S19262EJ3V0UM
Interrupt Source
None
When the line status register
(LSR) is read
 In non-FIFO mode
When the receive buffer
register (RBR) is read
 In FIFO mode
When the receive FIFO is
read and the amount of data
in the receive FIFO becomes
less than the trigger level
When the receive FIFO is
read
When the IIR register is read
or data is written in the
transmit hold register (THR)
or transmit FIFO
When the modem status
register (MSR) is read
Interrupt Reset Method
17

Advertisement

Table of Contents
loading

Table of Contents