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