Rev. 2.50 134 June 22, 2017 Rev. 2.50 135 June 22, 2017
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
Coun ter
overflow
CCRA Int.
Flag TnAF
CCRP Int.
Flag TnPF
CCRP > 0
Coun ter cleared by CCRP value
TM O/P Pin
Tn ON bit
Pause Counter
Reset
Output Pin set
to Initial Level
Low if TnOC = 0
Output Toggle
with TnAF flag
Here TnIO1, TnIO0 = 11
Toggle Output Select
Now TnIO1, TnIO0 = 10
Active H ig h Output
Select
Output not affected by
TnAF flag. Remains High
until reset by TnON bit
TnCCLR = 0; TnM[1:0] = 00
TnPAU bit
Resum e
Stop
Time
CCRP > 0
CCRP = 0
Tn POL bit
Output Pin
Reset to initial value
Output inver ts
when TnPOL is hig h
Output controll ed
by other pin-shared function
Coun ter Value
Compare Match Output Mode – TnCCLR=0
Note:1.WithTnCCLR=0,aComparatorPmatchwillclearthecounter
2.TheTMoutputpiniscontrolledonlybytheTnAFag
3.TheoutputpinisresettoitsinitialstatebyaTnONbitrisingedge