Rev. 1.40
1�8
De�e��e� 1�� �01�
Rev. 1.40
1�9
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
PTON
PTPAU
PTPOL
CCRP Int.
Flag PTMPF
CCRA Int.
Flag PTMAF
PTM
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
PTCCLR = 0; PTM [1:0] = 00
Output pin set to
initial Level Low
if PTOC=0
Output Toggle with
PTMAF flag
Note PTIO [1:0] = 10
Active High Output select
Here PTIO [1:0] = 11
Toggle Output sele�t
Output not affe�ted �y
PTMAF flag. Remains High
until reset by PTON bit
Output Pin
Reset to Initial value
Output �ont�olled �y
othe� pin-sha�ed fun�tion
Output Inve�ts
when PTPOL is high
Compare Match Output Mode – PTCCLR=0
Note: 1. With PTCCLR=0, a Comparator P match will clear the counter
2. The PTM output pin is controlled only by the PTMAF flag
3. The output pin is reset to its initial state by a PTON bit rising edge