
Rev. 1.21
82
�ove��e� ��� 2�1�
Rev. 1.21
83
�ove��e� ��� 2�1�
HT66F488/HT66F489
A/D Flash MCU with EEPROM
HT66F488/HT66F489
A/D Flash MCU with EEPROM
CCRA
CCRP
�xFFFF
CCRA Int.
Flag STMPF
CCRP Int.
Flag STMAF
CCRA > � Counte� clea�ed �y CCRA value
STM O/P Pin
STO�
Pause
Counte� Reset
Output Pin set
to Initial Level
Low if STOC = �
Output Toggle
with STMAF flag
He�e STIO[1:�] = 11
Toggle Output Select
�ow STIO[1:�] = 1�
Active High Output Select
Output not affected �y
STMAF flag. Re�ains High
until �eset �y STO� �it
STCCLR = 1; STM[1:�] = ��
STPAU
Resu�e
Stop
Ti�e
CCRA = �
STPOL
Output Pin
Reset to initial value
Output inve�ts
when STPOL is high
Output cont�olled
�y othe� pin
-
sha�ed function
Counte� Value
Output does
not change
�o STMAF flag
gene�ated on
CCRA ove�flow
CCRA = �
Counte� ove�flow
STMPF not
gene�ated
Compare Match Output Mode – STCCLR = 1
Note: 1. With STCCLR = 1 a Comparator A match will clear the counter
2. The TM output pin controlled only by the STMAF flag
3. The output pin reset to initial state by a STON rising edge
4. The STMPF flags is not generated when STCCLR = 1