CHAPTER 8 WATCH TIMER
User’s Manual U13850EJ4V0UM
232
8.3 Watch Timer Control Register
The watch timer mode control register (WTNM) and watch timer clock selection register (WTNCS) control the
watch timer. The watch timer should be operated after setting the count clock and interval time.
(1) Watch timer mode control register (WTNM)
This register enables or disables the count clock and operation of the watch timer, sets the interval time of the
prescaler, controls the operation of the 5-bit counter, and sets the set time of the watch flag.
WTNM is set by an 8-/1-bit memory manipulation instruction.
RESET input clears WTNM to 00H.
Figure 8-2. Watch Timer Mode Control Register (WTNM)
After reset: 00H
R/W
Address: FFFFF360H
7
6
5
4
3
2
<1>
<0>
WTNM
WTNM7
WTNM6
WTNM5
WTNM4
WTNM3
WTNM2
WTNM1
WTNM0
WTNM6
WTNM5
WTNM4
Selects interval time of prescaler
0
0
0
2
4
/f
W
(488
µ
s)
0
0
1
2
5
/f
W
(977
µ
s)
0
1
0
2
6
/f
W
(1.95 ms)
0
1
1
2
7
/f
W
(3.91 ms)
1
0
0
2
8
/f
W
(7.81 ms)
1
0
1
2
9
/f
W
(15.6 ms)
1
1
0
2
10
/f
W
(31.2 ms)
1
1
1
2
11
/f
W
(62.4 ms)
WTNM3
WTNM2
Selects set time of watch flag
0
0
2
14
/f
W
(0.5 s)
0
1
2
13
/f
W
(0.25 s)
1
0
2
5
/f
W
(977
µ
s)
1
1
2
4
/f
W
(488
µ
s)
WTM1
Controls operation of 5-bit counter
0
Clears after operation stops
1
Starts
WTNM0
Enables operation of watch timer
0
Stops operation (clears both prescaler and 5-bit counter)
1
Enables operation
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...