CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
User’s Manual U15109EJ3V0UD
252
Figure 7-17. Pipeline Flow and Interrupt Request Generation Timing
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EI
NOP
NOP
NOP
NOP
NOP
NOP
NOP
DI
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EI
NOP
NOP
NOP
NOP
NOP
NOP
DI
(a) When DI instruction is executed at 8th system clock after EI instruction execution
(interrupt request is acknowledged)
(b) When DI instruction is executed at 7th system clock after EI instruction execution
(interrupt request is not acknowledged)
ei signal
intrq signal
ei signal
intrq signal
intrq signal generated
intrq signal not generated
7.9 Bit Manipulation Instruction of Interrupt Control Register on DMA Transfer
When using the DMA function, execute the DI instruction before performing bit manipulation of the interrupt control
register (xxICn) in the EI status and execute the EI instruction after performing manipulation. Alternately, clear (0)
the xxIF bit at the start of the interrupt servicing routine.
When not using the DMA function, these manipulations are not required.
Remark
xx: Identifying name of each peripheral unit (see
Table 7-2
)
n: Peripheral unit number (see
Table 7-2
)