Rev. 1.60 144 August 20, 2019 Rev. 1.60 145 August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
Counter Value
YY
CCRP
PTON
PTPAU
CCRP Int.
Flag PTMPF
CCRA Int.
Flag PTMAF
CCRA Value
Time
Counter cleared
by CCRP
Pause
Resume
Counter
Reset
PTM [1:0] = 01
PTM capture pin
PTPI or PTCK
XX
Counter
Stop
PTIO [1:0] Value
XX YY XX YY
Active
edge
Active
edge
Active edge
00 – Rising edge 01 – Falling edge 10 – Both edges 11 – Disable Capture
Capture Input Mode
Note: 1. PTM [1:0]=01 and active edge set by the PTIO [1:0] bits
2. A PTM Capture input pin active edge transfers the counter value to CCRA
3. PTCCLR bit not used
4. No output function – PTOC and PTPOL bits are not used
5. CCRP determines the counter value and the counter has a maximum count value when CCRP is equal to
zero.