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
CTMn
O/P Pin
Ti�e
CCRA=0
CCRA = 0
Counte� ove�flow
CCRA > 0 Counte� �lea�ed �y CCRA value
Pause
Resu�e
Stop
Counte� Resta�t
CTnCCLR = 1; 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
CTMnPF not
gene�ated
No CTMnAF flag
gene�ated on
CCRA ove�flow
Output does
not �hange
CCRA Int.
flag CTMnAF
CCRP Int.
flag CTMnPF
Compare Match Output Mode – CTnCCLR=1
Note: 1. With CTnCCLR=1, a Comparator A match will clear the counter
2. The CTMn output pin is controlled only by CTMnAF flag
3. The CTMn output pin is reset to initial state by CTnON rising edge
4. The CTMnPF flags is not generated when CTnCCLR=1
5. n=0 or 1