
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
CCRP
CCRA
TnON
TnPAU
TnAPOL
CCRA Int.
Flag TnAF
CCRB Int.
Flag TnBF
TPnA Pin
(TnAOC=�)
Time
Pa�se
Res�me
Stop
Co�nter
Restart
TnCCLR = 0;
TnAM [�:0] = �0� TnBM [�:0] = �0;
TnPWM [�:0] = ��
O�tp�t Pin
Reset to Initial val�e
O�tp�t controlled by
Other pin-shared f�nction
O�tp�t Inverts
when TnAPOL
is high
CCRB
CCRP Int.
Flag TnPF
TPnB Pin
(TnBOC=�)
TPnB Pin
(TnBOC=0)
D�ty Cycle set by CCRA
D�ty Cycle set by CCRB
PWM Period set by CCRP
ETM PWM Mode – Centre Aligned
Note: 1. Here TnCCLR=0 therefore CCRP 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 TnAIO [1:0] (or TnBIO [1:0])=00 or 01
4. CCRA controls the TPnA PWM duty and CCRB controls the TPnB PWM duty
5. CCRP will generate an interrupt request when the counter decrements to its zero value