![NEC V850/SB1 Скачать руководство пользователя страница 255](http://html.mh-extra.com/html/nec/v850-sb1/v850-sb1_user-manual_249280255.webp)
CHAPTER 8 WATCH TIMER
User’s Manual U13850EJ6V0UD
255
8.3 Watch Timer Control Registers
The watch timer mode control register (WTNM), watch timer high-speed clock selection register (WTNHC)
Note
, 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.
Caution
The WTNHC register is available only in the B versions of the V850/SB1,
µµµµ
PD703036H, 703036HY,
703037H, 703037HY, 70F3036H, 70F3036HY, 70F3037H, and 70F3037HY.
(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-bit or 1-bit memory manipulation instruction.
RESET input clears WTNM to 00H.
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
Selection 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
Watch timer interrupt
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
Control of operation of 5-bit counter
0
Clears after operation stops
1
Starts
WTNM0
Watch timer operation enable
0
Operation stopped (clears both prescaler and 5-bit counter)
1
Operation enabled
Remarks 1.
f
W
: Watch timer clock frequency
2.
Values in parentheses apply when f
W
= 32.768 kHz.
3.
For the settings of WTNM7, refer to
(3) Watch timer clock selection register (WTNCS)
.
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...