358
CHAPTER 16 INTERRUPT AND TEST FUNCTIONS
User’s Manual U11302EJ4V0UM
(1) Interrupt request flag register (IF0H)
This register indicates whether a watch timer overflow is detected or not.
IF0H is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input clears IF0H to 00H.
Figure 16-18. Format of Interrupt Request Flag Register 0H
(2) Interrupt mask flag register (MK0H)
This register is used to set the standby mode enable/disable at the time the standby mode is released by the
watch timer.
MK0H is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets MK0H to FFH.
Figure 16-19. Format of Interrupt Mask Flag Register 0H
16.5.2 Test input signal acknowledgment operation
The internal test input signal (INTWT) is generated when the watch timer overflows. This signal sets the WTIF
flag. At this time, the standby release signal is generated if it is not masked by the interrupt mask flag (WTMK). By
checking the WTIF flag in a cycle shorter than the overflow cycle of the watch timer, a watch function can be realized.
TMIF0
IF0H
7
6
<5>
<4>
<3>
<2>
<1>
<0>
WTIF
Watch timer overflow detection flag
No detection
Detection
FFE1H
TMIF1
ADIF
TMIF2
KSIF
WTIF
0
0
00H
R/W
0
1
Symbol
Address
After reset
R/W
TMMK0
MK0H
7
6
<5>
<4>
<3>
<2>
<1>
<0>
WTMK Standby mode control by watch timer
Standby mode release enabled
Standby mode release disabled
FFE5H
TMMK1
ADMK
TMMK2
KSMK
WTMK
1
1
FFH
R/W
0
1
Symbol
Address
After reset
R/W
Содержание mPD780208 Subseries
Страница 2: ...2 User s Manual U11302EJ4V0UM MEMO...