Rev. 2.50 118 June 22, 2017 Rev. 2.50 119 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
Counter Value
0x3FF
CCRP
CCRA
TnON
TnPAU
TnPOL
CCRP Int.
Flag TnPF
CCRA Int.
Flag TnAF
TM O/P Pin
Time
CCRP=0
CCRP > 0
Counter overflow
CCRP > 0
Counter cleared by CCRP value
Pause
Resume
Stop
Counter
Restart
TnCCLR = 0; TnM [1:0] = 00
Output pin set to
initial Level Low
if TnOC=0
Output Toggle with
TnAF flag
Note TnIO [1:0] = 10
Active High Output select
Here TnIO [1:0] = 11
Toggle Output select
Output not affected by TnAF
flag. Remains High until reset
by TnON bit
Output Pin
Reset to Initial value
Output controlled by
other pin-shared function
Output Inverts
when TnPOL is high
Compare Match Output Mode – TnCCLR=0
Note:1.WithTnCCLR=0,aComparatorPmatchwillclearthecounter
2.TheTMoutputpiniscontrolledonlybytheTnAFag
3.TheoutputpinisresettoitsinitialstatebyaTnONbitrisingedge