Rev. 1.20 102 January 23, 2015 Rev. 1.20 103 January 23, 2015
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
Bit2~0 MnSOF2 ~ MnSOF0:SlelectingkeyOSCandrefOSCfrequencyasCtoFOSCis
controlledbysoftware
000:1380kHz
001:1500kHz
010:1670kHz
011:1830kHz
100:2000kHz
101:2230kHz
110:2460kHz
111:2740kHz
Thefrequencywhichismentionedherewilllbechangedwhentheexternalorinternal
capacitoriswithdifferentvalue.Ifthetouchkeyoperatesatafrequencyof2MHz,
userscanadjustthefrequencyinscalewhenselectotherfrequency.
TKMnC1 Register
Bit 7 6 5 4 3 2 1 0
Name MnTSS — MnROEN MnKOEN MnK4IO
MnK3IO MnK2IO MnK1IO
R/W R/W — R/W R/W R/W R/W R/W R/W
POR 0 — 0 0 0 0 0 0
Bit7 MnTSS:Timeslotcounterclockselect
0:Referenceoscillator
1:f
SYS
/4
B
it6 Unimplemented,readas"0"
Bit5 MnROEN:ReferenceOSCcontrol
0:Disable
1:Enable
Bit4 MnKOEN:KeyOSCcontrol
0:Disable
1:Enable
Bit3~0 MnK4IO~ MnK1IO:I/Opinortouchkeyfunctionselect
MnK4IO
M0 M1 M2 M3 M4
PB3/Key 4 PB7/Key 8
PC3/Key 12
or PC1/Key 12
PC7/Key 16
or PC5/Key 16
PA1/Key 20
0 I/O
1
Touch key
MnK3IO
M0 M1 M2 M3 M4
PB2/Key 3 PB6/Key 7
PC2/Key 11
or PC0/Key 11
PC6/Key15
or PC4/Key 15
PA4/Key 19
0 I/O
1
Touch key
MnK2IO
M0 M1 M2 M3 M4
PB1/Key 2 PB5/Key 6
PC1/Key 10
or PD2/Key 10
PC5/Key 14
or PC3/Key 14
PC7/Key 18
0 I/O
1
Touch key
MnK1IO
M0 M1 M2 M3 M4
PB0/Key 1 PB4/Key 5
PC0/Key 9
or PD3/Key 9
PC4/Key 13
or PC2/Key 13
PC6/Key 17
0 I/O
1
Touch key input