
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
CCRP
CCRA
0x3FF/
0xFFFF
CCRA = 0
Co�nter overflows
CCRP Int.
Flag TnPF
CCRA Int.
Flag TnAF
CCRA > 0 Co�nter cleared by CCRA val�e
TM O/P Pin
TnON bit
Pa�se
Co�nter
Reset
O�tp�t Pin
Reset to initial val�e
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
TnPAU bit
Res�me
Stop
Time
TnPF not
generated
No TnAF flag
generated on
CCRA overflow
O�tp�t does
not change
CCRA = 0
O�tp�t inverts
when TnPOL is high
TnPOL bit
TnCCLR = �; TnM[�:0] = 00
O�tp�t controlled by
other pin-shared f�nction
O�tp�t not affected by
TnAF flag remains High
�ntil reset by TnON bit
Co�nter Val�e
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. A TnPF flag is not generated when TnCCLR=1