204
Chapter 5
Interrupt Controller (INTC)
Preliminary User’s Manual U17566EE1V2UM00
Figure 5-5
Maskable interrupt processing
Note
For the ISPR register, see
“ISPR - In-service priority register“ on page 216
.
An INT input masked by the Interrupt Controllers and an INT input that occurs
while another interrupt is being processed (when PSW.NP = 1 or PSW.ID = 1)
are held pending internally by the Interrupt Controller. In such case, if the
interrupts are unmasked, or when PSW.NP = 0 and PSW.ID = 0 as set by the
RETI and LDSR instructions, input of the pending INT starts the new maskable
interrupt processing.
INT input
xxIF = 1
No
xxMK = 0
No
Is the interrupt
mask released?
Yes
Yes
No
No
No
Maskable interrupt request
Interrupt request pending
PSW.NP
PSW.ID
1
1
Interrupt request pending
0
0
Interrupt processing
CPU processing
INTC accepted
Yes
Yes
Yes
Priority higher than
that of interrupt currently
processed?
Priority higher
than that of other interrupt
request?
Highest default
priority of interrupt requests
with the same priority?
EIPC
EIPSW
ECR.EICC
PSW.EP
PSW.ID
PC
restored PC
PSW
exception code
0
1
handler address
electronic components distributor