176
CHAPTER 12 INTERRUPT FUNCTION
Cautions 1. TMIF4 flag is R/W enabled only when a watchdog timer is used as an interval timer. If
a watchdog timer is used in watchdog timer mode 1, set TMIF4 flag to 0.
2. Set 0 to the bits 1, 5 to 7 of IF0L and bits 0, 1, 5 to 7 of IF0H and IF1L.
(1) Interrupt request flag registers (IF0L, IF0H, IF1L)
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 acknowledgment of an interrupt request
or upon application of RESET input.
IF0L, IF0H, and IF1L are set with a 1-bit or 8-bit memory manipulation instruction. If IF0L and IF0H are used
as a 16-bit register IF0 use a 16-bit memory manipulation instruction for the setting.
RESET input sets these registers to 00H.
Figure 12-2. Interrupt Request Flag Register Format
7
0
Symbol
IF0L
6
0
5
0
4
PIF3
3
PIF2
2
PIF1
1
0
0
TMIF4
Address
FFE0H
00H
After
Reset
R/W
R/W
× ×
IF
×
0
1
Interrupt Request Flag
No interrupt request signal
Interrupt request signal is generated;
Interrupt request state
7
0
IF0H
6
0
5
0
4
STIF
3
SRIF
2
SERIF
1
0
0
0
7
0
IF1L
6
0
5
0
4
TMIF6
3
TMIF5
2
ADIF
1
0
0
0
FFE1H
00H
R/W
FFE2H
00H
R/W
Содержание NEC PD78081(A)
Страница 23: ...xii MEMO...
Страница 37: ...14 CHAPTER 1 OUTLINE MEMO...
Страница 47: ...24 CHAPTER 2 PIN FUNCTION MEMO...
Страница 91: ...68 CHAPTER 4 PORT FUNCTIONS MEMO...
Страница 125: ...102 CHAPTER 6 8 BIT TIMER EVENT COUNTERS 5 AND 6 MEMO...
Страница 157: ...134 CHAPTER 10 A D CONVERTER MEMO...
Страница 193: ...170 CHAPTER 11 SERIAL INTERFACE CHANNEL 2 MEMO...
Страница 253: ...230 CHAPTER 16 INSTRUCTION SET MEMO...
Страница 269: ...246 APPENDIX B EMBEDDED SOFTWARE MEMO...