Holtek TinyPower HT69F40A Manual page 127

Tinypower i/o flash 8-bit mcu with lcd & eeprom
Table of Contents

Advertisement

HT69F30A/HT69F40A/HT69F50A
TinyPower
I/O Flash 8-Bit MCU with LCD & EEPROM
TM
10-bit STM, PWM Mode, Edge-aligned Mode, TnDPX=0
CCRP
001b
Pe�iod
12�
Duty
If f
=16MHz, TM clock source select f
SYS
The STM PWM output frequency=(f
If the Duty value defined by the CCRA register is equal to or greater than the Period value, then the
PWM output duty is 100%.
10-bit STM, PWM Mode, Edge-aligned Mode, TnDPX=1
CCRP
001b
Pe�iod
Duty
12�
The PWM output period is determined by the CCRA register value together with the TM clock
while the PWM duty cycle is defined by the CCRP register value.
16-bit STM, PWM Mode, Edge-aligned Mode, TnDPX=0
If f
=16MHz, TM clock source select f
SYS
The STM PWM output frequency=(f
If the Duty value defined by the CCRA register is equal to or greater than the Period value, then the
PWM output duty is 100%.
16-bit STM, PWM Mode, Edge-aligned Mode, TnDPX=1
The PWM output period is determined by the CCRA register value together with the TM clock
while the PWM duty cycle is defined by the (CCRP×256) except when the CCRP value is equal to
000b.
Rev. 1.20
010b
011b
100b
2�6
3�4
�12
CCRA
/4, CCRP=100b and CCRA=128,
SYS
/4)/512=f
/2048=7.8125kHz, duty=128/512=25%
SYS
SYS
010b
011b
100b
CCRA
2�6
3�4
�12
CCRP
1~255
Pe�iod
CCRP×2�6
Duty
/4, CCRP=2 and CCRA=128,
SYS
/4)/(2×256)=f
SYS
CCRP
1~255
Pe�iod
Duty
CCRP×2�6
127
101b
110b
111b
640
76�
�96
101b
110b
111b
640
76�
�96
000b
6��36
CCRA
/2048=7.8125kHz, duty=128/(2×256)=25%.
SYS
000b
CCRA
6��36
��to�e� 0�� 201�
000b
1024
000b
1024

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Tinypower ht69f50aTinypower ht69f30a

Table of Contents