
Rev. 2.50
�34
��ne 22� 20��
Rev. 2.50
�35
��ne 22� 20��
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
CCRA
CCRP
0x3FF/
0xFFFF
Co�nter
overflow
CCRA Int.
Flag TnAF
CCRP Int.
Flag TnPF
CCRP > 0
Co�nter cleared by CCRP val�e
TM O/P Pin
TnON bit
Pa�se
Co�nter
Reset
O�tp�t Pin set
to Initial Level
Low if TnOC = 0
O�tp�t Toggle
with TnAF flag
Here TnIO�� TnIO0 = ��
Toggle O�tp�t Select
Now TnIO�� TnIO0 = �0
Active High O�tp�t
Select
O�tp�t not affected by
TnAF flag. Remains High
�ntil reset by TnON bit
TnCCLR = 0; TnM[�:0] = 00
TnPAU bit
Res�me
Stop
Time
CCRP > 0
CCRP = 0
TnPOL bit
O�tp�t Pin
Reset to initial val�e
O�tp�t inverts
when TnPOL is high
O�tp�t controlled
by other pin-shared f�nction
Co�nter Val�e
Compare Match Output Mode – TnCCLR=0
Note: 1. With TnCCLR=0, a Comparator P match will clear the counter
2. The TM output pin is controlled only by the TnAF flag
3. The output pin is reset to its initial state by a TnON bit rising edge