Holtek HT66F20 Manual page 163

A/d flash mcu with eeprom
Table of Contents

Advertisement

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

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?

Table of Contents