www.DataSheet4U.com
CHAPTER 11 WATCHDOG TIMER
237
11.4 Watchdog Timer Operations
11.4.1 Watchdog timer operation
When bit 4 (WDTM4) of the watchdog timer mode register (WDTM) is set to 1, the watchdog timer is operated
to detect any inadvertent program loop.
The watchdog timer count clock (inadvertent program loop detection time interval) can be selected with bits 0 to
2 (TCL20 to TCL22) of the timer clock select register 2 (TCL2). Watchdog timer starts by setting bit 7 (RUN) of WDTM
to 1. After the watchdog timer is started, set RUN to 1 within the inadvertent program loop time interval to be set.
The watchdog timer can be cleared and counting is started by setting RUN to 1. If RUN is not set to 1 and the
inadvertent program loop detection time is past, system reset or a non-maskable interrupt request is generated
according to the WDTM bit 3 (WDTM3) value.
Watchdog timer can be cleared by setting RUN to 1.
The watchdog timer continues operating in the HALT mode but it stops in the STOP mode. Thus, set RUN to 1
before the STOP mode is set, clear the watchdog timer and then execute the STOP instruction.
Cautions
1.
The actual inadvertent program loop detection time may be shorter than the set time by a
maximum of 0.5%.
2.
When the subsystem clock is selected for CPU clock, watchdog timer count operation is
stopped.
Table 11-4. Watchdog Timer Inadvertent Program Loop Detection Time
Remark
f
X
: Main system clock oscillation frequency
TCL20 to TCL22: Bits 0 to 2 of the timer clock select register 2 (TCL2)
TCL22
TCL21
TCL20
Inadvertent Program Loop Detection Time
f
X
= 10.0 MHz
0
0
0
2
12
×
1/f
X
409.6
µ
s
0
0
1
2
13
×
1/f
X
819.2
µ
s
0
1
0
2
14
×
1/f
X
1.64 ms
0
1
1
2
15
×
1/f
X
3.28 ms
1
0
0
2
16
×
1/f
X
6.55 ms
1
0
1
2
17
×
1/f
13.1 ms
1
1
0
2
18
×
1/f
X
26.2 ms
1
1
1
2
20
×
1/f
X
104.9 ms
Summary of Contents for 78011BGC AB8 Series
Page 2: ...www DataSheet4U com 2 MEMO ...
Page 8: ...www DataSheet4U com 8 MEMO ...
Page 22: ...www DataSheet4U com 22 MEMO ...
Page 30: ...www DataSheet4U com 30 MEMO ...
Page 34: ...www DataSheet4U com 34 MEMO ...
Page 62: ...www DataSheet4U com CHAPTER 2 OUTLINE µPD78014Y Subseries 62 MEMO ...
Page 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION µPD78014 Subseries 78 MEMO ...
Page 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION µPD78014Y Subseries 94 MEMO ...
Page 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO ...
Page 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO ...
Page 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO ...
Page 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO ...
Page 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 µPD78014 Subseries 318 MEMO ...
Page 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 µPD78014Y Subseries 408 MEMO ...
Page 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO ...
Page 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO ...
Page 502: ...www DataSheet4U com CHAPTER 22 µPD78P014 78P014Y 502 MEMO ...
Page 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO ...