
Rev. 1.21
�6
�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
Counte� Value
�x3FF
CCRP
CCRA
PTnO�
PTnPAU
PTnPOL
CCRP Int. Flag
PTMnPF
CCRA Int. Flag
PTMnAF
PTM O/P
Pin
Ti�e
CCRA=�
CCRA = �
Counte� ove�flow
CCRA > � Counte� clea�ed �y CCRA value
Pause
Resu�e
Stop
Counte� Resta�t
PTnCCLR = 1; PTnM [1:�] = ��
Output pin set to
initial Level Low
if PTnOC=�
Output Toggle with
PTMnAF flag
�ote PTnIO [1:�] = 1�
Active High Output select
He�e PTnIO [1:�] = 11
Toggle Output select
Output not affected �y
PTMnAF flag. Re�ains High
until �eset �y PTnO� �it
Output Pin
Reset to Initial value
Output cont�olled �y
othe� pin-sha�ed function
Output Inve�ts
when PTnPOL is high
PTMPF not
gene�ated
�o PTMnAF flag
gene�ated on
CCRA ove�flow
Output does
not change
Compare Match Output Mode – PTnCCLR=1 (n=0, 1)
Note: 1. With PTnCCLR=1 a Comparator A match will clear the counter
2. The TM output pin is controlled only by the PTMnAF flag
3. The output pin is reset to its initial state by a PTnON bit rising edge
4. A PTMnPF flag is not generated when PTnCCLR=1