Rev. 1.40
14�
De�e��e� 1�� �01�
Rev. 1.40
143
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
0xFFFF
CCRP
CCRA
STON
STPAU
STPOL
CCRP Int.
flag STMPF
CCRA Int.
flag STMAF
STM 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
STCCLR = 0; STM [1:0] = 00
Output pin set to
initial Level Low
if STOC=0
Output Toggle with
STMAF flag
Note STIO [1:0] = 10
Active High Output select
Here STIO [1:0] = 11
Toggle Output sele�t
Output not affe�ted �y STMAF
flag. Remains High until reset by
STON bit
Output Pin
Reset to Initial value
Output �ont�olled �y
othe� pin-sha�ed fun�tion
Output Inve�ts
when STPOL is high
Compare Match Output Mode – STCCLR=0
Note: 1. With STCCLR=0 a Comparator P match will clear the counter
2. The STMn output pin is controlled only by the STMAF flag
3. The output pin is reset to itsinitial state by a STON bit rising edge