
Rev. 2.50
�62
��ne 22� 20��
Rev. 2.50
�63
��ne 22� 20��
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
Co�nter Val�e
CCRA
TnON
TnPAU
TnBPOL
CCRA Int.
Flag TnAF
CCRB Int.
Flag TnBF
Time
Pa�se
Res�me
Stop
Co�nter
Restart
TnCCLR = �; TnBM [�:0] = �0;
TnPWM [�:0] = ��
O�tp�t Pin
Reset to Initial val�e
O�tp�t controlled
by other pin-shared
f�nction
CCRB
TPnB Pin
(TnBOC=�)
TPnB Pin
(TnBOC=0)
D�ty Cycle set by CCRB
PWM Period set by CCRA
O�tp�t Inverts
when TnBPOL is high
CCRP Int.
Flag TnPF
ETM PWM Mode – Centre Aligned
Note: 1. Here TnCCLR=1 therefore CCRA clears the counter and determines the PWM period
2. TnPWM [1:0]=11 therefore the PWM is centre aligned
3. The internal PWM function continues running even when TnBIO [1:0]=00 or 01
4. CCRA controls the TPnB PWM period and CCRB controls the TPnB PWM duty
5. CCRP will generate an interrupt request when the counter decrements to its zero value