Download Print this page

Timer Control/Status Register (Tcsr) - Renesas F-ZTAT H8 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:

Advertisement

Section 12 Watchdog Timer
12.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.
Note: * TCSR differs from other registers in being more difficult to write. For details see section
12.2.4, Notes on Register Access.
Bit
7
OVF
Initial value
0
Read/Write
R/(W)
Overflow flag
Status flag indicating overflow
Note: * 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
Description
0
[Clearing condition]
Cleared by reading OVF when OVF = 1, then writing 0 in OVF
1
[Setting condition]
Set when TCNT changes from H'FF to H'00
Rev. 7.00 Sep 21, 2005 page 440 of 878
REJ09B0259-0700
6
5
WT/IT
TME
0
0
*
R/W
R/W
Timer enable
Selects whether TCNT runs or halts
Timer mode select
Selects the mode
4
3
2
CKS2
1
1
0
R/W
Clock select
These bits select the
TCNT clock source
Reserved bits
1
0
CKS1
CKS0
0
0
R/W
R/W
(Initial value)

Hide quick links:

Advertisement

loading