Rev. 1.60
128
August 20, 2019
Rev. 1.60
129
August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
Counter Value
CCRP
CCRA
STON
STPAU
STPOL
CCRP Int.
flag STMPF
CCRA Int.
flag STMAF
STM O/P
Pin
(STOC=1)
Time
Counter cleared
by CCRA
Pause Resume
Counter Stop if
STON bit low
Counter Reset when
STON returns high
STDPX = 1; STM [1:0] = 10
PWM Duty Cycle
set by CCRP
PWM resumes
operation
Output controlled by
other pin-shared function
Output Inverts
when STPOL = 1
PWM Period
set by CCRA
STM O/P
Pin
(STOC=0)
PWM Output Mode – STDPX=1
Note: 1. Here STDPX=1 – Counter cleared by CCRA
2. A counter clear sets the PWM Period
3. The internal PWM function continues even when STIO [1:0]=00 or 01
4. The STCCLR bit has no influence on PWM operation