Timer Control/Status Register (Tcsr) - Renesas H8SX/1650 Hardware Manual

Renesas 32-bit cisc microcomputer h8sx family / h8sx/1600 series
Table of Contents

Advertisement

12.3.2

Timer Control/Status Register (TCSR)

TCSR selects the clock source to be input to TCNT, and the timer mode.
Bit
7
Bit Name
OVF
Initial Value
0
R/W
R/(W)*
Note: * Only 0 can be written to this bit, to clear the flag.
Bit
Bit Name
7
OVF
6
WT/IT
6
5
WT/IT
TME
0
0
R/W
R/W
Initial
Value
R/W
Description
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.)
0
R/W
Timer Mode Select
Selects whether the WDT is used as a watchdog timer or
interval timer.
0: Interval timer mode
1: Watchdog timer mode
4
3
1
1
R
R
When TCNT overflows, an interval timer interrupt
(WOVI) is requested.
When TCNT overflows, the WDTOVF signal is output.
Rev.2.00 Jun. 28, 2007 Page 439 of 666
Section 12 Watchdog Timer (WDT)
2
1
CKS2
CKS1
0
0
R/W
R/W
REJ09B0311-0200
0
CKS0
0
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

R5s61650cH8sx/1650c

Table of Contents