Section 11 Watchdog Timer (WDT)
Rev. 3.00 Mar. 14, 2006 Page 369 of 804
REJ09B0104-0300
11.2.2 Timer
Control/Status Register (TCSR)
TCSR selects the clock source to be input to TCNT, and the timer mode.
Bit
Bit Name
Initial Value
R/W
Note:
*
Only 0 can be written to this bit, to clear the flag.
7
OVF
0
R/(W)
*
6
WT/
IT
0
R/W
5
TME
0
R/W
4
—
1
R
3
—
1
R
2
CKS2
0
R/W
1
CKS1
0
R/W
0
CKS0
0
R/W
Bit Bit
Name
Initial
Value R/W Description
7 OVF 0 R/(W)
*
Overflow
Flag
Indicates that TCNT has overflowed in interval timer
mode. Only 0 can be written to this bit, to clear the flag.
[Setting condition]
•
When TCNT overflows in interval timer mode
(changes from H'FF to H'00)
•
When internal reset request generation is selected in
watchdog timer mode, OVF is cleared automatically
by the internal reset.
[Clearing condition]
•
Cleared by reading TCSR when OVF = 1, then writing
0 to OVF
(When the CPU is used to clear this flag by writing 0
while the corresponding interrupt is enabled, be sure
to read the flag after writing 0 to it.)
6 WT/
IT
0
R/W
Timer Mode Select
Selects whether the WDT is used as a watchdog timer or
interval timer.
0: Interval timer mode
When TCNT overflows, an interval timer interrupt
(WOVI) is requested.
1: Watchdog timer mode
When TCNT overflows while RSTE = 1, this LSI is
initialized initially.
electronic components distributor
Содержание H8SX series
Страница 2: ...Rev 3 00 Mar 14 2006 Page ii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 22: ...Rev 3 00 Mar 14 2006 Page xxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 32: ...Rev 3 00 Mar 14 2006 Page xxxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 38: ...Rev 3 00 Mar 14 2006 Page xxxviii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 845: ...Downloaded from Elcodis com electronic components distributor...
Страница 846: ...H8SX 1520 Group Hardware Manual Downloaded from Elcodis com electronic components distributor...