103
CHAPTER 7 WATCHDOG TIMER
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 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 is detected. Upon detection of the inadvertent program loop, a non-maskable
interrupt request or RESET can be generated.
Table 7-1. Watchdog Timer Overrun Detection Times
Runaway Detection Time
MCS = 1
MCS = 0
2
11
×
1/f
XX
2
11
×
1/f
X
(410
µ
s)
2
12
×
1/f
X
(819
µ
s)
2
12
×
1/f
XX
2
12
×
1/f
X
(819
µ
s)
2
13
×
1/f
X
(1.64 ms)
2
13
×
1/f
XX
2
13
×
1/f
X
(1.64 ms)
2
14
×
1/f
X
(3.28 ms)
2
14
×
1/f
XX
2
14
×
1/f
X
(3.28 ms)
2
15
×
1/f
X
(6.55 ms)
2
15
×
1/f
XX
2
15
×
1/f
X
(6.55 ms)
2
16
×
1/f
X
(13.1 ms)
2
16
×
1/f
XX
2
16
×
1/f
X
(13.1 ms)
2
17
×
1/f
X
(26.2 ms)
2
17
×
1/f
XX
2
17
×
1/f
X
(26.2 ms)
2
18
×
1/f
X
(52.4 ms)
2
19
×
1/f
XX
2
19
×
1/f
X
(104.9 ms)
2
20
×
1/f
X
(209.7 ms)
Remarks 1. f
XX
: Main system clock frequency (f
X
or f
X
/2)
2. f
X
: Main system clock oscillation frequency
3. MCS : Oscillation mode selection register (OSMS) bit 0
4. Values in parentheses when operated at f
X
= 5.0 MHz.
Содержание NEC PD78081(A)
Страница 23: ...xii MEMO...
Страница 37: ...14 CHAPTER 1 OUTLINE MEMO...
Страница 47: ...24 CHAPTER 2 PIN FUNCTION MEMO...
Страница 91: ...68 CHAPTER 4 PORT FUNCTIONS MEMO...
Страница 125: ...102 CHAPTER 6 8 BIT TIMER EVENT COUNTERS 5 AND 6 MEMO...
Страница 157: ...134 CHAPTER 10 A D CONVERTER MEMO...
Страница 193: ...170 CHAPTER 11 SERIAL INTERFACE CHANNEL 2 MEMO...
Страница 253: ...230 CHAPTER 16 INSTRUCTION SET MEMO...
Страница 269: ...246 APPENDIX B EMBEDDED SOFTWARE MEMO...