www.DataSheet4U.com
CHAPTER 11 WATCHDOG TIMER
238
11.4.2 Interval timer operation
The watchdog timer operates as an interval timer which generates interrupt requests repeatedly at intervals of a
preset count value when bit 4 (WDTM4) of the watchdog timer mode register (WDTM) is set to 0.
The count clock (or interval time) can be selected with bits 0 to 2 (TCL20 to TCL22) of the time clock select register
(TCL2). When 1 is written into WDTM bit 7 (RUN), the interval timer operation starts.
When the watchdog timer operated as interval timer, the interrupt mask flag (TMMK4) and priority specify flag
(TMPR4) are validated and the maskable interrupt request (INTWDT) can be generated. Among maskable interrupt
requests, the INTWDT default has the highest priority.
The interval timer continues operating in the HALT mode but it stops in the STOP mode. Thus, set WDTM bit 7
(RUN) to 1 before the STOP mode is set, clear the interval timer and then execute the STOP instruction.
Cautions
1.
Once bit 4 (WDTM4) of WDTM is set to 1 (with the watchdog timer mode selected), the interval
timer mode is not set unless RESET input is applied.
2.
The interval time just after setting with WDTM may be shorter than the set time by up to 0.5%.
3.
When the subsystem clock is selected for CPU clock, watchdog timer count operation is
stopped.
Table 11-5. Interval Timer Interval Time
TCL22
TCL21
TCL20
Interval 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
Remark
f
X
: Main system clock oscillation frequency
TCL20 to TCL22: Bits 0 to 2 of the timer clock select register 2 (TCL2)
Содержание 78014Y Series
Страница 2: ...www DataSheet4U com 2 MEMO...
Страница 8: ...www DataSheet4U com 8 MEMO...
Страница 22: ...www DataSheet4U com 22 MEMO...
Страница 30: ...www DataSheet4U com 30 MEMO...
Страница 34: ...www DataSheet4U com 34 MEMO...
Страница 62: ...www DataSheet4U com CHAPTER 2 OUTLINE PD78014Y Subseries 62 MEMO...
Страница 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION PD78014 Subseries 78 MEMO...
Страница 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION PD78014Y Subseries 94 MEMO...
Страница 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO...
Страница 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO...
Страница 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO...
Страница 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO...
Страница 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 PD78014 Subseries 318 MEMO...
Страница 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 PD78014Y Subseries 408 MEMO...
Страница 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO...
Страница 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO...
Страница 502: ...www DataSheet4U com CHAPTER 22 PD78P014 78P014Y 502 MEMO...
Страница 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO...