Download Print this page

Hitachi H8S/2633 Hardware Manual page 586

Advertisement

15.2
Register Descriptions
15.2.1
Timer Counter (TCNT)
Bit
:
Initial value :
R/W
:
R/W
TCNT is an 8-bit readable/writable* up-counter.
When the TME bit is set to 1 in TCSR, TCNT starts counting pulses generated from the internal
clock source selected by bits CKS2 to CKS0 in TCSR. When the count overflows (changes from
H'FF to H'00), either the watchdog timer overflow signal (WDTOVF) or an interval timer
interrupt (WOVI) is generated, depending on the mode selected by the WT/IT bit in TCSR.
TCNT is initialized to H'00 by a reset, in hardware standby mode, or when the TME bit is cleared
to 0. It is not initialized in software standby mode.
Note: * TCNT is write-protected by a password to prevent accidental overwriting. For details see
section 15.2.5, Notes on Register Access.
15.2.2
Timer Control/Status Register (TCSR)
TCSR0
Bit
:
OVF
Initial value :
R/W
:
R/(W)*
Note: * Only a 0 can be written, for flag clearing.
TCSR1
Bit
:
OVF
Initial value :
R/W
:
R/(W)*
Note: * Only a 0 can be written, for flag clearing.
7
6
0
0
R/W
R/W
7
6
WT/IT
TME
0
0
R/W
R/W
7
6
WT/IT
TME
0
0
R/W
R/W
5
4
0
0
R/W
R/W
5
4
0
1
5
4
PSS
RST/NMI
0
0
R/W
R/W
3
2
0
0
R/W
3
2
CKS2
CKS1
1
0
R/W
3
2
CKS2
CKS1
0
0
R/W
1
0
0
0
R/W
R/W
1
0
CKS0
0
0
R/W
R/W
1
0
CKS0
0
0
R/W
R/W
567

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631