Rev. 2.50 160 June 22, 2017 Rev. 2.50 161 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
CCRA
TnON
TnPAU
TnBPOL
CCRB Int.
Flag TnBF
Time
Counter Cleared by CCRA
Pause
Resume
Stop
Counter
Restart
TnCCLR = 1; TnBM [1:0] = 10;
TnPWM [1:0] = 00
Output Pin
Reset to
Initial value
Output controlled by
other pin-shared function
Output Inverts
when TnBPOL
is high
CCRB
CCRP Int.
Flag TnPF
TPnB Pin
(TnBOC=1)
TPnB Pin
(TnBOC=0)
Duty Cycle
set by CCRB
PWM Period set by CCRA
ETM PWM Mode – Edge Aligned
Note:1.HereTnCCLR=1thereforeCCRAclearsthecounteranddeterminesthePWMperiod
2.TheinternalPWMfunctioncontinuesrunningevenwhenTnBIO[1:0]=00or01
3.TheCCRAcontrolstheTPnBPWMperiodandCCRBcontrolstheTPnBPWMduty
4.HeretheTMpincontrolregistershouldnotenabletheTPnApinasaTMoutputpin