
75
CHAPTER 4 APPLICATIONS OF WATCHDOG TIMER
Figure 4-6. Format of Watchdog Timer Mode Register (
μ
PD780924, 780964 subseries)
Notes 1.
Once WDTM3 and WDTM4 have been set to 1, they cannot be cleared to 0 by software.
2.
When RUN is set to 1, the WDTM starts interval timer operation.
3.
Once RUN has been set to 1, it cannot be cleared to 0 by software. Therefore, when counting has been
started, it cannot be stopped by any means other than the RESET signal.
Caution When RUN is set to 1 and the watchdog timer is cleared, the actual overflow time is up to 0.5%
shorter than the time set by the watchdog timer clock select register (WDCS).
Remark
×
: don’t care
7
6
5
4
3
2
Symbol
1
0
WDTM4
Selects operation mode of watchdog timer
Note 1
,
controls interrupt of timer, and reset by watchdog timer
FFF9H
0
WDTM
0
WDTM3
0
WDTM4
0
0
RUN
Address
At reset
R/W
00H
R/W
WDTM3
0
Interval timer mode
Note 2
(maskable interrupt
request occurs when overflow occurs)
×
1
Watchdog timer mode 1 (non-maskable
interrupt request occurs when overflow occurs)
the PWM output off function of TM7 can be
used with INTWDT.
0
1
Watchdog timer mode 2 (reset operation
starts when overflow occurs) the PWM output
off function of TM7 can be used with INTWDT.
1
RUN
Selects watchdog timer operation
Note 3
0
Stops counting
1
Clears counter and starts counting