HT69F30A/HT69F40A/HT69F50A
TinyPower
I/O Flash 8-Bit MCU with LCD & EEPROM
TM
Counte� Value
CCRP
CCRA
CCRB
Tn�N
TnPAU
TnAP�L
CCRA Int.
Flag TnAF
CCRB Int.
Flag TnBF
CCRP Int.
Flag TnPF
TPnA Pin
(TnA�C=1)
TPnB Pin
(TnB�C=1)
TPnB Pin
(TnB�C=0)
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
6. n=1 for HT69F40A/HT69F50A
Rev. 1.20
Duty Cy�le set �y CCRA
Duty Cy�le set �y CCRB
PWM Pe�iod set �y CCRP
ETM PWM Mode – Centre Aligned
1�1
TnCCLR = 0;
TnAM [1:0] = 10� TnBM [1:0] = 10;
TnPWM [1:0] = 11
Stop
Resume
Pause
�utput �ont�olled �y
�the� pin-sha�ed fun�tion
��to�e� 0�� 201�
Counte�
Resta�t
Time
�utput Inve�ts
when TnAP�L
is high
�utput Pin
Reset to Initial value
Need help?
Do you have a question about the TinyPower HT69F40A and is the answer not in the manual?
Questions and answers