CHAPTER 8 WATCHDOG TIMER
User's Manual U11919EJ3V0UM00
119
8.4 Operation of Watchdog Timer
8.4.1 Operation as watchdog timer
The watchdog timer detects an inadvertent program loop when bit 4 (WDTM4) of the watchdog timer mode
register (WDTM) is set to 1.
The count clock (inadvertent loop detection time interval) of the watchdog timer can be selected by bits 0 to 2
(TCL20 to TCL22) of timer clock select register 2 (TCL2). By setting bit 7 (RUN) of WDTM to 1, the watchdog timer
is started. Set RUN to 1 within the set inadvertent loop detection time interval after the watchdog timer has been
started. By setting RUN to 1, the watchdog timer can be cleared and start counting. If RUN is not set to 1, and the
inadvertent loop detection time is exceeded, the system is reset or a non-maskable interrupt is generated by the
value of bit 3 (WDTM3) of WDTM.
The watchdog timer continues operation in the HALT mode, but stops in the STOP mode. Therefore, set RUN to
1 before entering the STOP mode to clear the watchdog timer, and then execute the STOP instruction.
Caution
The actual inadvertent loop detection time may be up to 0.8% shorter than the set time.
Table 8-4. Inadvertent Loop Detection Time of Watchdog Timer
TCL22
TCL21
TCL20
Inadvertent Loop Detection Time
At f
X
= 5.0 MHz
0
0
0
2
11
×
1/f
X
410
µ
s
0
1
0
2
13
×
1/f
X
1.64 ms
1
0
0
2
15
×
1/f
X
6.55 ms
1
1
0
2
17
×
1/f
X
26.2 ms
f
X
: System clock oscillation frequency
Содержание mPD789026 Subseries
Страница 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Страница 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Страница 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Страница 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Страница 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Страница 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Страница 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Страница 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Страница 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Страница 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Страница 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Страница 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Страница 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...
Страница 212: ...User s Manual U11919EJ3V0UM00 212 MEMO...