Holtek HT68F Series Manual page 160

Enhanced i/o flash type 8-bit mcu with eeprom
Table of Contents

Advertisement

Co�nter Va��e
CCRA
CCRB
TnON
TnPAU
TnBPOL
CCRA Int.
F�ag TnAF
CCRB Int.
F�ag TnBF
CCRP Int.
F�ag TnPF
TPnB Pin
(TnBOC=1)
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.10
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Enhanced I/O Flash Type 8-Bit MCU with EEPROM
D�t� C�c�e set b� CCRB
PWM Period set b� CCRA
PWM Mode -- Centre Aligned
160
TnCCLR = 1; TnBM [1:0] = 10;
TnPWM [1:0] = 11
Co�nter
Stop
Restart
Res�me
Pa�se
O�tp�t contro��ed
O�tp�t Inverts
b� other pin-shared
when TnBPOL is high
f�nction
O�tp�t Pin
Reset to Initia� va��e
Time
���� 02� 201�

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents