Rev. 2.50 162 June 22, 2017 Rev. 2.50 163 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
CCRP
CCRA
TnON
TnPAU
TnAPOL
CCRA Int.
Flag TnAF
CCRB Int.
Flag TnBF
TPnA Pin
(TnAOC=1)
Time
Pause
Resume
Stop
Counter
Restart
TnCCLR = 0;
TnAM [1:0] = 10, TnBM [1:0] = 10;
TnPWM [1:0] = 11
Output Pin
Reset to Initial value
Output controlled by
Other pin-shared function
Output Inverts
when TnAPOL
is high
CCRB
CCRP Int.
Flag TnPF
TPnB Pin
(TnBOC=1)
TPnB Pin
(TnBOC=0)
Duty Cycle set by CCRA
Duty Cycle set by CCRB
PWM Period set by CCRP
ETM PWM Mode – Centre Aligned
Note:1.HereTnCCLR=0thereforeCCRPclearsthecounteranddeterminesthePWMperiod
2.TnPWM[1:0]=11thereforethePWMiscentrealigned
3.TheinternalPWMfunctioncontinuesrunningevenwhenTnAIO[1:0](orTnBIO[1:0])=00or01
4.CCRAcontrolstheTPnAPWMdutyandCCRBcontrolstheTPnBPWMduty
5.CCRPwillgenerateaninterruptrequestwhenthecounterdecrementstoitszerovalue