CHAPTER 13 INTERRUPT FUNCTIONS
Preliminary User’s Manual U19014EJ1V0UD
396
(1) Interrupt request flag registers (IF0L, IF0H, IF1L, IF1H)
The interrupt request flags are set to 1 when the corresponding interrupt request is generated or an instruction is
executed. They are cleared to 0 when an instruction is executed upon acknowledgment of an interrupt request or
upon reset signal generation.
When an interrupt is acknowledged, the interrupt request flag is automatically cleared and then the interrupt
routine is entered.
IF0L, IF0H, IF1L, and IF1H are set by a 1-bit or 8-bit memory manipulation instruction. When IF0L and IF0H, and
IF1L and IF1H are combined to form 16-bit registers IF0 and IF1, they are set by a 16-bit memory manipulation
instruction.
Reset signal generation sets these registers to 00H.
Figure 13-2. Format of Interrupt Request Flag Registers (IF0L, IF0H, IF1L, IF1H)
Address: FFE0H After reset: 00H R/W
Symbol <7> <6> <5> <4> <3> <2> <1> <0>
IF0L
SREIF6
USBIF1
USBIF2
PIF3 PIF2 PIF1 PIF0 LVIIF
Address: FFE1H After reset: 00H R/W
Symbol <7> <6> <5> <4> <3> <2> <1> <0>
IF0H TMIF010
TMIF000
TMIF50
USBIF2
TMIFH1
CSIIF10
STIF6
SRIF6
Address: FFE2H After reset: 00H R/W
Symbol 7 6 5 4
<3>
2 1
<0>
IF1L
0 0 0 0
TMIF51
0 0
RSUMIF
Address: FFE3H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
IF1H
0 0 0 0 0 0 0 0
XXIFX
Interrupt
request
flag
0
No interrupt request signal is generated
1
Interrupt request is generated, interrupt request status
Cautions 1. Be sure to clear bits 1, 2, 4 to 7 of IF1L and bits 0 to 7 of IF1H to 0.
2. When operating a timer or serial interface after standby release, operate it once after clearing
the interrupt request flag. An interrupt request flag may be set by noise.
electronic components distributor