CHAPTER 14 INTERRUPT FUNCTIONS
User’s Manual U15075EJ1V0UM00
267
(1)
Interrupt request flag registers 0, 1 (IF0 and IF1)
The interrupt request flag is set (1) when the corresponding interrupt request is generated or an instruction
is executed. It is cleared (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 sets IF0 and IF1 to 00H.
Figure 14-2. Format of Interrupt Request Flag Registers
0
1
0
KRIF00 WTIF ADIF0 TMIF40 TMIF30 TMIF20 WTIIF
IF1
FFE1H
00H
R/W
Interrupt request flag
No interrupt request signal is generated
Interrupt request signal is generated; Interrupt request state
XXIFX
<6>
<5>
<4>
<3>
<2>
<1>
7
<0>
STIF20
0
SRIF20 PIF3
PIF2
PIF1
PIF0 WDTIF
IF0
R/W
FFE0H
00H
R/W
Symbol
Address
After reset
6
<5>
<4>
<3>
<2>
<1>
<7>
<0>
Cautions 1. Bit 7 of IF1 and bit 6 of IF0 must be set to 0.
2. The WDTIF flag is R/W enabled only when a watchdog timer is used as an interval timer. If
the watchdog timer mode 1 or 2 is used, set the WDTIF flag to 0.
3. Because port 3 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.
Содержание mPD789425
Страница 2: ...2 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 6: ...6 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 10: ...10 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 24: ...24 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 36: ...36 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 46: ...46 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 176: ...User s Manual U15075EJ1V0UM00 176 MEMO ...
Страница 196: ...User s Manual U15075EJ1V0UM00 196 MEMO ...
Страница 210: ...User s Manual U15075EJ1V0UM00 210 MEMO ...
Страница 262: ...262 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 278: ...278 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 296: ...296 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 298: ...User s Manual U15075EJ1V0UM00 298 MEMO ...
Страница 316: ...User s Manual U15075EJ1V0UM00 316 MEMO ...