Timer Control Registers (16Tcr) - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

8.2.9

Timer Control Registers (16TCR)

16TCR is an 8-bit register. The 16-bit timer has three 16TCRs, one in each channel.
Channel
Abbreviation
0
16TCR0
1
16TCR1
2
16TCR2
Bit
Initial value
Read/Write
Reserved bit
Each 16TCR is an 8-bit readable/writable register that selects the timer counter clock source,
selects the edge or edges of external clock sources, and selects how the counter is cleared.
16TCR is initialized to H'80 by a reset and in standby mode.
Bit 7—Reserved: This bit cannot be modified and is always read as 1.
238
Function
16TCR controls the timer counter. The 16TCRs in all
channels are functionally identical. When phase counting
mode is selected in channel 2, the settings of bits CKEG1
and CKEG0 and TPSC2 to TPSC0 in 16TCR2 are ignored.
7
6
CCLR1
CCLR0
1
0
R/W
R/W
Counter clear 1/0
These bits select the counter clear source
5
4
CKEG1
CKEG0
0
0
R/W
R/W
Clock edge 1/0
These bits select external clock edges
3
2
TPSC2
TPSC1
0
0
R/W
R/W
Timer prescaler 2 to 0
These bits select the timer
counter clock
1
0
TPSC0
0
0
R/W

Advertisement

Table of Contents
loading

Table of Contents