
Rev. 2.50
�56
��ne 22� 20��
Rev. 2.50
�5�
��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
CCRB
CCRA
TnON
TnPAU
TnBPOL
CCRB Int.
Flag TnBF
CCRA Int.
Flag TnAF
TPnB 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 = �; TnBM [�:0] = 00
O�tp�t pin set to
initial Level Low
if TnBOC=0
O�tp�t Toggle with
TnBF flag
Note TnBIO [�:0] = �0
Active High O�tp�t select
Here TnBIO [�:0] = ��
Toggle O�tp�t select
O�tp�t not affected by
TnBF 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 TnBPOL is high
No TnAF flag
generated on
CCRA overflow
ETM CCRB Compare Match Output Mode – TnCCLR=1
Note: 1. With TnCCLR=1, a Comparator A match will clear the counter
2. The TPnB output pin is controlled only by the TnBF flag
3. The TPnB output pin is reset to its initial state by a TnON bit rising edge
4. The TnPF flag is not generated when TnCCLR=1