
Rev. 1.20
134
��to�e� 0�� 201�
Rev. 1.20
13�
��to�e� 0�� 201�
HT69F30A/HT69F40A/HT69F50A
TinyPower
TM
I/O Flash 8-Bit MCU with LCD & EEPROM
HT69F30A/HT69F40A/HT69F50A
TinyPower
TM
I/O Flash 8-Bit MCU with LCD & EEPROM
Enhanced Type TM Register Description
Overall operation of the Enhanced TM is controlled using a series of registers. A read only register
pair exists to store the internal counter 10-bit value, while two read/write register pairs exist to store
the internal 10-bit CCRA and CCRB value. The remaining three registers are control registers which
setup the different operating and control modes as well as the three CCRP bits.
Name
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
TM1C0
T1PAU
T1CK2
T1CK1
T1CK0
T1�N
T1RP2
T1RP1
T1RP0
TM1C1
T1AM1
T1AM0
T1AI�1
T1AI�0
T1A�C
T1AP�L
T1CDN
T1CCLR
TM1C2
T1BM1
T1BM0
T1BI�1
T1BI�0
T1B�C
T1BP�L T1PWM1 T1PWM0
TM1DL
D7
D6
D�
D4
D3
D2
D1
D0
TM1DH
—
—
—
—
—
—
D9
D�
TM1AL
D7
D6
D�
D4
D3
D2
D1
D0
TM1AH
—
—
—
—
—
—
D9
D�
TM1BL
D7
D6
D�
D4
D3
D2
D1
D0
TM1BH
—
—
—
—
—
—
D9
D�
10-bit Enhanced TM Register List
TM1C0 Register – 10-bit ETM
Bit
7
6
5
4
3
2
1
0
Name
T1PAU
T1CK2
T1CK1
T1CK0
T1�N
T1RP2
T1RP1
T1RP0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
P�R
0
0
0
0
0
0
0
0
Bit 7
T1PAU:
TM1 Counter Pause Control
0: Run
1: Pause
The counter can be paused by setting this bit high. Clearing the bit to zero restores
normal counter operation. When in a Pause condition the TM will remain powered up
and continue to consume power. The counter will retain its residual value when this bit
changes from low to high and resume counting from this value when the bit changes
to a low value again.
Bit 6~4
T1CK2~T1CK0:
Select TM1 Counter clock
000: f
SYS
/4
001: f
SYS
010: f
H
/16
011: f
H
/64
100: f
SUB
101: Reserved
110: TCK1 rising edge clock
111: TCK1 falling edge clock
These three bits are used to select the clock source for the TM. Selecting the Reserved
clock input will effectively disable the internal counter. The external pin clock source
can be chosen to be active on the rising or falling edge. The clock source f
SYS
is the
system clock, while f
H
and f
SUB
are other internal clocks, the details of which can be
found in the oscillator section.