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
CCRP
CCRA
Counter
Value
Counter Clearedby CCRP
CCRA Int.
Flag STMA0F
CCRP Int.
Flag STMP0F
STM O/P Pin
(ST0OC=1)
ST0ON
PWM Duty Cycle
set by CCRA
PWM Period
set by CCRP
Counter Stop If
ST0ON bit low
Counter reset when
ST0ON returns high
PWM resumes
operation
Output controlled by
Other pin-shared function
Time
ST0DPX=0;ST0M[1:0]=10
ST0POL
Output Inverts
When ST0POL = 1
ST0PAU
Resume
Pause
STM O/P Pin
(ST0OC=0)
PWM Output Mode – ST0DPX = 0
Note: 1. Here
ST
0DPX = 0 - Counter cleared by CCRP
2. A counter clear sets PWM Period
3. The internal PWM function continues running even when
ST
0IO[1:0] = 00 or 01
4. The S
T
0CCLR bit has no influence on PWM operation