
Rev. 1.20
14�
��to�e� 0�� 201�
Rev. 1.20
149
��to�e� 0�� 201�
HT69F30A/HT69F40A/HT69F50A
TinyPower
TM
I/O Flash 8-Bit MCU with LCD & EEPROM
HT69F30A/HT69F40A/HT69F50A
TinyPower
TM
I/O Flash 8-Bit MCU with LCD & EEPROM
ETM, PWM Mode, Edge-aligned Mode, TnCCLR=0
CCRP
001b
010b
011b
100b
101b
110b
111b
000b
Pe�iod
12�
2�6
3�4
�12
640
76�
�96
1024
A Duty
CCRA
B Duty
CCRB
If f
SYS
=12MHz, TM clock source select f
SYS
/4, CCRP=100b, CCRA=128 and CCRB=256,
The TPnA PWM output frequency=(f
SYS
/4)/512=f
SYS
/2048=5.8594kHz, duty=128/512=25%.
The TPnB_x PWM output frequency=(f
SYS
/4)/512=f
SYS
/2048=5.8594kHz, duty=256/512=50%.
If the Duty value defined by CCRA or CCRB register is equal to or greater than the Period value,
then the PWM output duty is 100%.
ETM, PWM Mode, Edge-aligned Mode, TnCCLR=1
CCRA
1
2
3
511
512
1021
1022
1023
Pe�iod
1
2
3
�11
�12
1021
1022
1023
B Duty
CCRB
ETM, PWM Mode, Center-aligned Mode, TnCCLR=0
CCRA
001b
010b
011b
100b
101b
110b
111b
000b
Pe�iod
2�6
�12
76�
1024
12�0
1�36
1792
2046
A Duty
(CCRA×2)-1
B Duty
(CCRB×2)-1
ETM, PWM Mode, Center-aligned Mode, TnCCLR=1
CCRA
1
2
3
511
512
1021
1022
1023
Pe�iod
2
4
6
1022
1024
2042
2044
2046
B Duty
(CCRB×2)-1