Rev. 1.20
98
�an�a�� 2�� 201�
Rev. 1.20
99
�an�a�� 2�� 201�
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
Co�nte� Val�e
YY
CCRP
PT0ON
PT0PAU
CCRP Int.
Flag PTMP0F
CCRA Int.
Flag PTMA0F
CCRA
Val�e
Time
Co�nte� clea�ed
b� CCRP
Pa�se
Res�me
Co�nte�
Reset
PT0M [1:0] = 01
PTM0 capt��e pin
TP1_0�TP1_1
o� TCK1
XX
Co�nte�
Stop
PT0IO [1:0]
Val�e
XX
YY
XX
YY
Active
edge
Active
edge
Active edge
00
–
Rising edge
01
–
Falling edge 10
–
Both edges
11
–
Disable Capt��e
Capture Input Mode
Note: 1. PT0M [1:0] = 01 and active edge set by the PT0IO [1:0] bits
2. A PTM0 Capture input pin active edge transfers the counter value to CCRA
3. PT0CCLR bit not used
4. No output function – PT0OC and PT0POL bits are not used
5. CCRP determines the counter value and the counter has a maximum count value when
CCRP is equal to zero.