h8s-2628 Renesas Electronics Corporation., h8s-2628 Datasheet - Page 337

no-image

h8s-2628

Manufacturer Part Number
h8s-2628
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
13.2.2
TCSR is an 8-bit readable/writable register. Its functions include selecting the clock source to be
input to TCNT, and selecting the timer mode.
Bit
7
6
5
4, 3
Bit Name
OVF
WT/
TME
Timer Control/Status Register (TCSR)
I T
Initial Value
0
0
0
All 1
R/W
R/(W) *
R/W
R/W
Description
Overflow Flag
Indicates that TCNT has overflowed. Only a write
of 0 is permitted, to clear the flag.
[Setting condition]
[Clearing condition]
Timer Mode Select
Selects whether the WDT is used as a watchdog
timer or an interval timer.
0: Interval timer mode
1: Watchdog timer mode
Timer Enable
When this bit is set to 1, TCNT starts counting.
When this bit is cleared, TCNT stops counting and
is initialized to H'00.
Reserved
These bits are always read as 1 and cannot be
modified.
When TCNT overflows (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.
Cleared by reading TCSR when OVF = 1, then
writing 0 to OVF
Rev. 3.00 Oct 04, 2005 page 297 of 598
Section 13 Watchdog Timer
REJ09B0155-0300

Related parts for h8s-2628