User’s Manual U12978EJ3V0UD
91
CHAPTER 7 WATCHDOG TIMER
7.1 Watchdog Timer Functions
The watchdog timer has the following functions.
•
Watchdog timer
•
Interval timer
Caution
Select the watchdog timer mode or interval timer mode by using the watchdog timer mode
register (WDTM).
(1) Watchdog timer
The watchdog timer is used to detect inadvertent program loops. When an inadvertent loop is detected, a non-
maskable interrupt or the RESET signal can be generated.
Table 7-1. Inadvertent Loop Detection Time of Watchdog Timer
Inadvertent Loop
Detection Time
Operation at f
X
= 6.0 MHz
2
11
×
1/f
X
341
µ
s
2
13
×
1/f
X
1.37 ms
2
15
×
1/f
X
5.46 ms
2
17
×
1/f
X
21.8 ms
f
X
: System clock oscillation frequency
(2) Interval timer
The interval timer generates an interrupt at arbitrary intervals set in advance.
Table 7-2. Interval Time
Interval Time
Operation at f
X
= 6.0 MHz
2
11
×
1/f
X
341
µ
s
2
13
×
1/f
X
1.37 ms
2
15
×
1/f
X
5.46 ms
2
17
×
1/f
X
21.8 ms
f
X
: System clock oscillation frequency