CHAPTER 8 WATCHDOG TIMER
User's Manual U11919EJ3V0UM00
118
(2)
Watchdog timer mode register (WDTM)
This register sets an operation mode of the watchdog timer, and enables/disables counting of the watchdog
timer.
WDTM is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input clears WDTM to 00H.
Figure 8-3. Watchdog Timer Mode Register Format
RUN
0
1
Selects Operation of Watchdog Timer
Note 1
RUN
0
0
WDTM4
WDTM3
0
0
0
WDTM
Symbol
Address
After Reset
R/W
FFF9H
00H
R/W
<7>
6
5
4
3
2
1
0
Stops counting.
Clears counter and starts counting.
WDTM4
Selects Operation Mode of Watchdog Timer
Note 2
WDTM3
0
1
1
0
1
1
Operation stop
Interval timer mode (overflow and maskable interrupt occur)
Note 3
Watchdog timer mode 1 (overflow and non-maskable interrupt occur)
Watchdog timer mode 2 (overflow occurs and reset operation started)
0
0
Notes 1. Once RUN has been set to 1, it cannot be cleared to 0 by software. Therefore, when counting is
started, it cannot be stopped by any means other than RESET input.
2. Once WDTM3 and WDTM4 have been set to 1, they cannot be cleared to 0 by software.
3. The watchdog timer starts operations as an interval timer when RUN is set to 1.
Cautions 1. When the watchdog timer is cleared by setting 1 to RUN, the actual overflow time is up
to 0.8% shorter than the time set by timer clock select register 2 (TCL2).
2. In watchdog timer mode 1 or 2, set WDTM4 to 1 after confirming TMIF4 (bit 0 of
interrupt request flag register 0 (IF0)) being set to 0. When watchdog timer mode 1 or 2
is selected under the condition where TMIF4 is 1, a non-maskable interrupt occurs at
the completion of rewriting.
www.DataSheet4U.com
Summary of Contents for UPD789026 Series
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO www DataSheet4U com...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO www DataSheet4U com...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO www DataSheet4U com...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO www DataSheet4U com...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO www DataSheet4U com...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO www DataSheet4U com...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO www DataSheet4U com...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO www DataSheet4U com...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO www DataSheet4U com...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO www DataSheet4U com...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO www DataSheet4U com...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO www DataSheet4U com...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO www DataSheet4U com...
Page 212: ...User s Manual U11919EJ3V0UM00 212 MEMO www DataSheet4U com...