Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

HT66F25D View Datasheet(PDF) - Holtek Semiconductor

Part Name
Description
MFG CO.
HT66F25D
Holtek
Holtek Semiconductor Holtek
'HT66F25D' PDF : 177 Pages View PDF
A/D Flash Type 8-bit MCU with EEPROM
HT66F24D/HT66F25D
TM0AH Register
Register
Bit
Name
7
6
5
4
3
2
TM0C0
TM0C1
TM0DL
Bit 7~2
Bit 1~0
” Unimplemented, read as 0
TM0AH: TM0 CCRA High Byte Register bit 1 ~ bit 0
TM0 10-bit CCRA bit 9 ~ bit 8
1
0
D9
D8
R/W
R/W
0
0
TM0C0 Register
Register
Name
TM0C0
TM0C1
TM0DL
7
T0PAU
R/W
0
6
T0CK2
R/W
0
5
T0CK1
R/W
0
Bit
4
3
T0CK0 T0ON
R/W
R/W
0
0
2
T0RP2
R/W
0
1
T0RP1
R/W
0
0
T0RP0
R/W
0
Bit 7
Bit 6~4
Bit 3
T0PAU: TM0 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.
T0CK2~T0CK0: Select TM0 Counter clock
000: fSYS/4
001: fSYS
010: fH/16
011: fH/64
100: fTBC
101: undefined, can not be selected.
110: TCK0 rising edge clock
111: TCK0 falling edge clock
These three bits are used to select the clock source for the TM. The external pin clock
source can be chosen to be active on the rising or falling edge. The clock source fSYS is
the system clock, while fH and fTBC are other internal clocks, the details of which can
be found in the oscillator section.
T0ON: TM0 Counter On/Off Control
0: Off
1: On
This bit controls the overall on/off function of the TM. Setting the bit high enables
the counter to run and clearing the bit disables the TM. Clearing this bit to zero will
stop the counter from counting and turn off the TM which will reduce its power
consumption. When the bit changes state from low to high the internal counter value
will be reset to zero, however when the bit changes from high to low, the internal
counter will retain its residual value.
If the TM is in the Compare Match Output Mode then the TM output pin will be reset
to its initial condition, as specified by the T0OC bit, when the T0ON bit changes from
low to high.
Rev. 1.10
76
March 25, 2013
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]