CHAPTER 15 INTERRUPT FUNCTIONS
User’s Manual U13045EJ2V0UM00
207
(1) Interrupt request flag registers (IF0, IF1)
The interrupt request flag is set to 1 when the corresponding interrupt request is generated or an instruction
is executed. It is cleared to 0 when an instruction is executed upon acknowledgement of an interrupt request
or upon RESET input.
IF0 and IF1 are set with a 1-bit or 8-bit memory manipulation instruction.
RESET input clears these registers to 00H.
Figure 15-2. Interrupt Request Flag Register Format
Cautions 1. TMIF4 flag is R/W enabled only when the watchdog timer is used as an interval timer.
If the watchdog timer mode 1 and 2 are used, set the TMIF4 flag to 0.
2. Because port 2 has an alternate function as the external interrupt input, 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.
0
1
TMIF20 TMIF80 STIF20 SRIF20 PIF2
PIF1
PIF0 TMIF4
IF0
R/W
FFE0H
00H
R/W
Symbol
Address
After reset
Interrupt request flag
No interrupt request signal is generated
Interrupt request signal is generated; Interrupt request state
××
IF
×
<6>
<5>
<4>
<3>
<2>
<1>
<7>
<0>
0
0
0
0
0
0
0
ADIF0
IF1
R/W
FFE1H
00H
R/W
Symbol
Address
After reset
6
5
4
3
2
1
7
<0>
Summary of Contents for mPD789101
Page 2: ...2 User s Manual U13045EJ2V0UM00 MEMO...
Page 10: ...10 User s Manual U13045EJ2V0UM00 MEMO...
Page 16: ...User s Manual U13045EJ2V0UM00 16 MEMO...
Page 46: ...User s Manual U13045EJ2V0UM00 46 MEMO...
Page 72: ...72 User s Manual U13045EJ2V0UM00 MEMO...
Page 86: ...User s Manual U13045EJ2V0UM00 86 MEMO...
Page 94: ...User s Manual U13045EJ2V0UM00 94 MEMO...
Page 102: ...User s Manual U13045EJ2V0UM00 102 MEMO...
Page 128: ...User s Manual U13045EJ2V0UM00 128 MEMO...
Page 148: ...User s Manual U13045EJ2V0UM00 148 MEMO...
Page 162: ...User s Manual U13045EJ2V0UM00 162 MEMO...
Page 218: ...User s Manual U13045EJ2V0UM00 218 MEMO...
Page 238: ...User s Manual U13045EJ2V0UM00 238 MEMO...
Page 240: ...User s Manual U13045EJ2V0UM00 240 MEMO...
Page 256: ...User s Manual U13045EJ2V0UM00 256 MEMO...
Page 258: ...258 User s Manual U13045EJ2V0UM00 MEMO...