English
Language : 

HD6413008VF25 Datasheet, PDF (358/688 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
11. Watchdog Timer
11.2.2 Timer Control/Status Register (TCSR)
TCSR is an 8-bit readable and writable register. Its functions include selecting the timer mode and
clock source.
Bit
7
6
5
4
OVF WT/IT TME
⎯
Initial value
0
0
0
1
Read/Write R/(W)* R/W R/W
⎯
3
2
1
0
⎯
CKS2 CKS1 CKS0
1
0
0
0
⎯
R/W
R/W R/W
Clock select
These bits select the
TCNT clock source
Reserved bits
Timer enable
Selects whether TCNT runs or halts
Timer mode select
Selects the mode
Overflow flag
Status flag indicating overflow
Notes: The method for writing to TCSR is different from that for general registers to prevent
inadvertent overwriting. For details see section 11.2.4, Notes on Register Access.
* Only 0 can be written, to clear the flag.
Bits 7 to 5 are initialized to 0 by a reset and in standby mode. Bits 2 to 0 are initialized to 0 by a
reset. In software standby mode bits 2 to 0 are not initialized, but retain their previous values.
Bit 7—Overflow Flag (OVF): This status flag indicates that the timer counter has overflowed
from H'FF to H'00.
Bit 7
OVF
0
1
Description
[Clearing condition]
Cleared by reading OVF when OVF = 1, then writing 0 in OVF
[Setting condition]
Set when TCNT changes from H'FF to H'00
(Initial value)
Rev.4.00 Aug. 20, 2007 Page 312 of 638
REJ09B0395-0400