Rev. 2.50 154 June 22, 2017 Rev. 2.50 155 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
CCRB
TnON
TnPAU
TnBPOL
CCRP Int.
Flag TnPF
CCRB Int.
Flag TnBF
TPnB O/P
Pin
Time
CCRP=0
CCRP > 0
Counter overflow
CCRP > 0
Counter cleared by CCRP value
Pause
Resume
Stop
Counter
Restart
TnCCLR = 0; TnBM [1:0] = 00
Output pin set to
initial Level Low
if TnBOC=0
Output Toggle with
TnBF flag
Note TnBIO [1:0] = 10
Active High Output select
Here TnBIO [1:0] = 11
Toggle Output select
Output not affected by TnBF
flag. Remains High until reset
by TnON bit
Output Pin
Reset to Initial value
Output controlled by
other pin-shared function
Output Inverts
when TnBPOL is high
ETM CCRB Compare Match Output Mode – TnCCLR=0
Note:1.WithTnCCLR=0,aComparatorPmatchwillclearthecounter
2.TheTPnBoutputpiniscontrolledonlybytheTnBFag
3.TheoutputpinisresettoitsinitialstatebyaTnONbitrisingedge