Rev. 1.40
13�
De�e��e� 1�� �01�
Rev. 1.40
133
De�e��e� 1�� �01�
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
Counte� Value
0x3FF
CCRP
CCRA
CTnON
CTnPAU
CTnPOL
CCRP Int.
flag CTMnPF
CCRA Int.
flag CTMnAF
CTMn
O/P Pin
Ti�e
CCRP=0
CCRP > 0
Counte� ove�flow
CCRP > 0
Counte� �lea�ed �y CCRP value
Pause
Resu�e
Stop
Counte�
Resta�t
CTnCCLR = 0; CTnM [1:0] = 00
Output pin set to
initial Level Low
if CTnOC=0
Output Toggle with
CTMnAF flag
Note CTnIO [1:0] = 10
Active High Output select
Here CTnIO [1:0] = 11
Toggle Output sele�t
Output not affe�ted �y CTMnAF
flag. Remains High until reset by
CTnON bit
Output Pin
Reset to Initial value
Output �ont�olled �y
othe� pin-sha�ed fun�tion
Output Inve�ts
when CTnPOL is high
Compare Match Output Mode – CTnCCLR=0
Note: 1. With CTnCCLR=0, a Comparator P match will clear the counter
2. The CTMn output pin controlled only by CTMnAF flag
3. The output pin is reset to its initial state by CTnON bit rising edge
4. n=0 or 1