Rev. 1.20
80
�an�a�� 2�� 201�
Rev. 1.20
81
�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
CCRA
CCRP
0x�FF
CCRP Int.
Flag CTMP0F
CCRA Int.
Flag CTMA0F
CCRA > 0 Co�nte� clea�ed b� CCRA val�e
CTM0O/P Pin
CT0ON
Pa�se
Co�nte� Reset
O�tp�t Pin set
to Initial Level
Low if CT0OC= 0
O�tp�t Toggle
with CTMA0F flag
He�e CT0IO[1:0] = 11
Toggle O�tp�t Select
Now CT0IO[1:0] = 10
Active High O�tp�t Select
O�tp�t not affected b�
CTMA0F flag. Remains High
�ntil �eset b� CT0ON bit
Compare Match Output Mode - C0TCCLR = 1
CT0CCLR = 1; CT0M[1:0] = 00
CT0PAU
Res�me
Stop
Time
CCRA = 0
CT0POL
O�tp�t Pin
Reset to initial val�e
O�tp�t inve�ts
when CT0POL is high
O�tp�t cont�olled
b� othe� pin- sha�ed f�nction
Co�nte� Val�e
O�tp�t does
not change
No CTMA0F flag
gene�ated on
CCRA ove�flow
CCRA = 0
Co�nte� ove�flow
CTMP0F not
gene�ated
Compare Match Output Mode - CT0CCLR=1
Note: 1. With C
T
0CCLR = 1,
a
Comparator A match will clear the counter
2. The C
TM
0 output pin controlled only by the CTMA0F flag
3. The output pin reset to initial state by a C
T
0ON rising edge
4. The C
TMP
0F flags is not generated when C
T
0CCLR = 1
Содержание BS82B12A-3
Страница 33: ...Rev 1 20 33 January 23 2015 BS82B12A 3 BS82C16A 3 BS82D20A 3 Touch Key 8 Bit Flash MCU with LED LCD Driver ...
Страница 34: ...Rev 1 20 34 January 23 2015 BS82B12A 3 BS82C16A 3 BS82D20A 3 Touch Key 8 Bit Flash MCU with LED LCD Driver ...
Страница 35: ...Rev 1 20 35 January 23 2015 BS82B12A 3 BS82C16A 3 BS82D20A 3 Touch Key 8 Bit Flash MCU with LED LCD Driver ...