Rev. 1.71
78
April 11, 2017
Rev. 1.71
79
April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
CCRA
CCRP
Counter
Value
Counter Cleared by CCRA
CCRP Int.
Flag STMP0F
CCRA Int.
Flag STMA0F
STM O/P Pin
(ST0OC=1)
ST0ON
PWM Duty Cycle
set by CCRP
PWM Period
set by CCRA
Counter Stop If
ST0ON bit low
Counter reset when
ST0ON returns high
PWM resumes
operation
Output controlled by
Other pin-shared function
Time
ST0DPX=1;ST0M[1:0]=10
ST0POL
Output Inverts
When ST0POL = 1
ST0PAU
Resume
Pause
STM O/P Pin
(ST0OC=0)
PWM Output Mode – ST0DPX = 1
Note: 1. Here
ST
0DPX = 1 - Counter cleared by CCRA
2. A counter clear sets PWM Period
3. The internal PWM function continues even when
ST
0IO[1:0] = 00 or 01
4. The S
T
0CCLR bit has no influence on PWM operation