RX610 Group
10. ICU
R01UH0032EJ0120 Rev.1.20
Page 223 of 1006
Feb 20, 2013
10.2.1
Interrupt Request Register i (IRi) (i = interrupt vector number)
Addresses: 0008 7010h to 0008 70FDh
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
0
0
0
0
0
0
0
0
—
—
—
—
—
—
—
IR
Bit
Symbol Bit Name
Description
R/W
b0
IR
Interrupt Status Flag
0: No interrupt request is generated
1: An interrupt request is generated
R/(W)
*
b7 to b1
Reserved
These bits are read as 0. The write value should
always be 0.
R/W
Note:
*
In the case of the edge detection, only 0 can be written to clear the flag.
Writing 1 is enabled under the conditions described in section 10.7.3, Notes on DMAC/DTC Transfer
using Communication Function (SCI, RIIC).
In the case of the level detection, writing to this flag is disabled.
The IRi register indicates interrupt request status.
IRi is provided for each interrupt source, where "i" shows an interrupt vector number.
For the correspondence between interrupt sources and interrupt vector numbers, see table 10.4, Interrupt Vector Table.
IR Flag (Interrupt Status Flag)
This bit is the status flag for the corresponding interrupt request. If the flag is set to 1 while interrupt requests are enabled
by the IENj bit in IERi, an interrupt request signal is output to the destination that has been specified by the ISEL[1:0]
bits in ISELRi.
When an interrupt request from the source is detected in the source of interrupt generation, the flag is set to 1. For the
actual interrupt to be generated, the interrupt enable bit of the corresponding peripheral module must be set to enable
interrupt output or detection of the interrupt signal on the given pin must be enabled by the IRQEN bit in IRQERn for
interrupts on pin IRQn.
Interrupts are detected as either an edge or level of the interrupt signal. For details on interrupt detection, see section
10.4.2, Interrupt Status Flag.
•
Peripheral module interrupts (except IR064 to IR079)
Edge detection
[Setting condition]
•
Generation of the interrupt signal from the source
[Clearing conditions]
•
Writing of a 0 to the flag
However, when the DTC or the DMAC is specified as an interrupt request destination, writing 0 to the IR flag
is prohibited.
•
If the setting of the ISEL[1:0] bits in ISELRi is 00b, interrupt exception handling by the CPU
•
If the setting of the ISEL[1:0] bits in ISELRi is 01b and the setting of the DISEL bit in MRB of the DTC is 0,
activation of the DTC