Rev. 1.20
84
�an�a�� 2�� 201�
Rev. 1.20
8�
�an�a�� 2�� 201�
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
CCRA
CCRP
Counter
Value
Counter Cleared by CCRA
CCRP Int
.
Flag CTMP0
F
CCRA Int
.
Flag CTMA0
F
CTM0
O/
P Pin
(CT0OC
=1
)
CT0ON
PWM Duty Cycle
set by CCRP
PWM Period
set by CCRA
PWM Mode
–
CT0DPX = 1
Counter Stop If
CT0ON bit low
Counter reset when
CT0ON returns high
PWM resumes
operation
Output controlled by
Other pin-shared function
Time
CT0
DPX=1
; CT0
M
[
1:
0]=10
CT0
POL
Output Inverts
When CT0POL =
1
CT0PAU
Resume
Pause
CTM0
O/
P Pin
(CT0OC
=
0)
PWM Mode – CT0DPX = 1
Note: 1. Here CT0DPX = 1 - Counter cleared by CCRA
2. A counter clear sets PWM Period
3. The internal PWM function continues even when CT0IO[1:0] = 00 or 01
4. The CT0CCLR bit has no influence on PWM operation