Holtek HT66F20 Manual page 162

A/d flash mcu with eeprom
Table of Contents

Advertisement

Co�nter Val�e
CCRP
CCRA
CCRB
TnON
TnPAU
TnAPOL
CCRA Int.
Flag TnAF
CCRB Int.
Flag TnBF
CCRP Int.
Flag TnPF
TPnA Pin
(TnAOC=�)
TPnB Pin
(TnBOC=�)
TPnB Pin
(TnBOC=0)
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
Rev. 2.50
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
D�ty Cycle set by CCRA
D�ty Cycle set by CCRB
PWM Period set by CCRP
ETM PWM Mode – Centre Aligned
�62
A/D Flash MCU with EEPROM
TnCCLR = 0;
TnAM [�:0] = �0� TnBM [�:0] = �0;
TnPWM [�:0] = ��
Co�nter
Stop
Restart
Res�me
Pa�se
O�tp�t controlled by
Other pin-shared f�nction
Time
O�tp�t Inverts
when TnAPOL
is high
O�tp�t Pin
Reset to Initial val�e
��ne 22� 20��

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT66F20 and is the answer not in the manual?

Questions and answers

Table of Contents