CHAPTER 9 WATCHDOG TIMER
User’s Manual U17446EJ3V1UD
151
9.3 Registers Controlling Watchdog Timer
The watchdog timer is controlled by the following two registers.
•
Watchdog timer mode register (WDTM)
•
Watchdog timer enable register (WDTE)
(1) Watchdog timer mode register (WDTM)
This register sets the overflow time and operation clock of the watchdog timer.
This register can be set by an 8-bit memory manipulation instruction and can be read many times, but can be
written only once after reset is released.
Generation of reset signal sets this register to 67H.
Figure 9-2. Format of Watchdog Timer Mode Register (WDTM)
0
WDCS0
1
WDCS1
2
WDCS2
3
WDCS3
4
WDCS4
5
1
6
1
7
0
Symbol
WDTM
Address: FF48H After reset: 67H R/W
WDCS4
Note 1
WDCS3
Note 1
Operation
clock
selection
0
0
Low-speed internal oscillation clock (f
RL
)
0
1
System Clock (f
X
)
1
×
Watchdog timer operation stopped
Overflow time setting
WDCS2
Note 2
WDCS1
Note 2
WDCS0
Note 2
During low-speed internal
oscillation clock operation
During system clock operation
0 0 0
2
11
/f
RL
(4.27 ms)
2
13
/f
X
(819.2
μ
s)
0 0 1
2
12
/f
RL
(8.53 ms)
2
14
/f
X
(1.64 ms)
0 1 0
2
13
/f
RL
(17.07 ms)
2
15
/f
X
(3.28 ms)
0 1 1
2
14
/f
RL
(34.13 ms)
2
16
/f
X
(6.55 ms)
1 0 0
2
15
/f
RL
(68.27 ms)
2
17
/f
X
(13.11 ms)
1 0 1
2
16
/f
RL
(136.53 ms)
2
18
/f
X
(26.21 ms)
1 1 0
2
17
/f
RL
(273.07 ms)
2
19
/f
X
(52.43 ms)
1 1 1
2
18
/f
RL
(546.13 ms)
2
20
/f
X
(104.86 ms)
Notes 1.
If “low-speed internal oscillator cannot be stopped” is specified by the option byte, this cannot
be set. The low-speed internal oscillation clock will be selected no matter what value is
written.
2.
Reset is released at the maximum cycle (WDCS2, 1, 0 = 1, 1, 1).
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...