11.1 Watchdog Timer Functions
The watchdog timer has the following functions.
• Watchdog timer
• Interval timer
Caution Select the watchdog timer mode or the interval timer mode with the watchdog timer mode register
(WDTM) (The watchdog timer and interval timer cannot be used at the same time).
(1) Watchdog timer mode
An inadvertent program loop (runaway) is detected. Upon detection of the runaway, a non-maskable interrupt
request or RESET can be generated.
Runaway Detection Time
11
2
1/f
XX
12
2
1/f
XX
13
2
1/f
XX
14
2
1/f
XX
15
2
1/f
XX
16
2
1/f
XX
17
2
1/f
XX
19
2
1/f
XX
Remarks 1. f
XX
2. f
X
3. MCS : Bit 0 of oscillation mode selection register (OSMS)
4. Figures in parentheses apply to operation with f
CHAPTER 11 WATCHDOG TIMER
Table 11-1. Watchdog Timer Runaway Detection Times
MCS = 1
11
2
1/f
(410 s)
X
12
2
1/f
(819 s)
X
13
2
1/f
(1.64 ms)
X
14
2
1/f
(3.28 ms)
X
15
2
1/f
(6.55 ms)
X
16
2
1/f
(13.1 ms)
X
17
2
1/f
(26.2 ms)
X
19
2
1/f
(104.9 ms)
X
: Main system clock frequency (f
: Main system clock oscillation frequency
MCS = 0
12
2
1/f
(819 s)
X
13
2
1/f
(1.64 ms)
X
14
2
1/f
(3.28 ms)
X
15
2
1/f
(6.55 ms)
X
16
2
1/f
(13.1 ms)
X
17
2
1/f
(26.2 ms)
X
18
2
1/f
(52.4 ms)
X
20
2
1/f
(209.7 ms)
X
or f
/2)
X
X
= 5.0 MHz.
X
245