CHAPTER 10 INTERRUPT FUNCTIONS
User’s Manual U18172EJ2V0UD
170
Table 10-2. Interrupt Request Signals and Corresponding Flags
Interrupt Request Signal
Interrupt Request Flag
Interrupt Mask Flag
INTLVI
INTP0
INTP1
INTTMH1
INTTM000
INTTM010
INTAD
LVIIF
PIF0
PIF1
TMIFH1
TMIF000
TMIF010
ADIF
LVIMK
PMK0
PMK1
TMMKH1
TMMK000
TMMK010
ADMK
(1) Interrupt request flag register 0 (IF0)
An interrupt request flag is set to 1 when the corresponding interrupt request is issued, or when the
instruction is executed. It is cleared to 0 by executing an instruction when the interrupt request is
acknowledged or when a reset signal is input.
IF0 is set with a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears IF0 to 00H.
Figure 10-2. Format of Interrupt Request Flag Register 0 (IF0)
Address: FFE0H After reset: 00H R/W
Symbol
<7> <6> <5> <4> <3> <2> <1> 0
IF0 ADIF
TMIF010
TMIF000
TMIFH1
PIF1 PIF0 LVIIF 0
××
IF
×
Interrupt
request
flag
0
No interrupt request signal has been issued.
1
An interrupt request signal has been issued; an interrupt request status.
Caution Because P21 and P32 have an alternate function as external interrupt inputs, when the
output level is changed by specifying the output mode of the port function, an interrupt
request flag is set. Therefore, the interrupt mask flag should be set to 1 before using the
output mode.