
Rev. 1.21
�8
�ove��e� ��� 2�1�
Rev. 1.21
��
�ove��e� ��� 2�1�
HT66F488/HT66F489
A/D Flash MCU with EEPROM
HT66F488/HT66F489
A/D Flash MCU with EEPROM
STMDL Register
Bit
7
6
5
4
3
2
1
0
�a�e
D�
D6
D5
D4
D3
D2
D1
D�
R/W
R
R
R
R
R
R
R
R
POR
�
�
�
�
�
�
�
�
Bit 7 ~ 0
D7~D0
: STM Counter Low Byte Register bit 7 ~ bit 0
STM 16-bit Counter bit 7 ~ bit 0
STMDH Register
Bit
7
6
5
4
3
2
1
0
�a�e
D15
D14
D13
D12
D11
D1�
D�
D8
R/W
R
R
R
R
R
R
R
R
POR
�
�
�
�
�
�
�
�
Bit 7 ~ 0
D15~D8
: STM Counter High Byte Register bit 7 ~ bit 0
STM 16-bit Counter bit 15 ~ bit 8
STMAL Register
Bit
7
6
5
4
3
2
1
0
�a�e
D�
D6
D5
D4
D3
D2
D1
D�
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
�
�
�
�
�
�
�
�
Bit 7 ~ 0
D7~D0
: STM CCRA Low Byte Register bit 7 ~ bit 0
STM 16-bit CCRA bit 7 ~ bit 0
STMAH Register
Bit
7
6
5
4
3
2
1
0
�a�e
D15
D14
D13
D12
D11
D1�
D�
D8
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
�
�
�
�
�
�
�
�
Bit 7 ~ 0
D15~D8
: STM CCRA High Byte Register bit 7 ~ bit 0
STM 16-bit CCRA bit 15 ~ bit 8
STMRP Register
Bit
7
6
5
4
3
2
1
0
�a�e
D�
D6
D5
D4
D3
D2
D1
D�
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
�
�
�
�
�
�
�
�
Bit 7 ~ 0
STMRP
: STM CCRP High Byte Register bit 7 ~ bit 0
STM CCRP 8-bit register, compared with the STM Counter bit 15 ~ bit 8. Comparator P
Match Period
0: 65536 STM clocks
1~255: 256 × (1~255) STM clocks
These eight bits are used to setup the value on the internal CCRP 8-bit register, which
are then compared with the internal counter's highest eight bits. The result of this
comparison can be selected to clear the internal counter if the STCCLR bit is set to
zero. Setting the STCCLR bit to zero ensures that a compare match with the CCRP
values will reset the internal counter. As the CCRP bits are only compared with the
highest eight counter bits, the compare values exist in 256 clock cycle multiples.
Clearing all eight bits to zero is in effect allowing the counter to overflow at its
maximum value.