
Rev. 2.50
��8
��ne 22� 20��
Rev. 2.50
��9
��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
Co�nter Val�e
0x3FF
CCRP
CCRA
TnON
TnPAU
TnPOL
CCRP Int.
Flag TnPF
CCRA Int.
Flag TnAF
TM O/P Pin
Time
CCRA=0
CCRA = 0
Co�nter overflow
CCRA > 0 Co�nter cleared by CCRA val�e
Pa�se
Res�me
Stop
Co�nter Restart
TnCCLR = �; TnM [�:0] = 00
O�tp�t pin set to
initial Level Low
if TnOC=0
O�tp�t Toggle with
TnAF flag
Note TnIO [�:0] = �0
Active High O�tp�t select
Here TnIO [�:0] = ��
Toggle O�tp�t select
O�tp�t not affected by
TnAF flag. Remains High
�ntil reset by TnON bit
O�tp�t Pin
Reset to Initial val�e
O�tp�t controlled by
other pin-shared f�nction
O�tp�t Inverts
when TnPOL is high
TnPF not
generated
No TnAF flag
generated on
CCRA overflow
O�tp�t does
not change
Compare Match Output Mode – TnCCLR=1
Note: 1. With TnCCLR=1, a Comparator A 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
4. The TnPF flag is not generated when TnCCLR=1