Rev. 1.20 66 January 23, 2015 Rev. 1.20 67 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
Source Current Selection
Thesourcecurrentofeachpininthesedevicescanbeconfiguredwithdifferentsourcecurrent
whichisselectedbythecorrespondingpinsourcecurrentselectbits.Thesesourcecurrentbitsare
availablewhenthecorrespondingpinisconguredasaCMOSoutput.Otherwise,theseselectbits
havenoeffect.UsersshouldrefertotheD.C.Characteristicssectiontoobtaintheexactvaluefor
differentapplications.
SLEDC0 Register
Bit 7 6 5 4 3 2 1 0
Name
PBPS3 PBPS2 PBPS1 PBPS0 PAPS3 PAPS2 PAPS1 PAPS0
R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR 0 1 0 1 0 1 0 1
Bit7~6 PBPS3~PBPS2:PB7~PB4sourcecurrentselect
00:source=Level0(min.)
01:source=Level1
10:source=Level2
11:source=Level3(max.)
ThesebitsareavailablewhenthecorrespondingpinisconguredasaCMOSoutput.
Bit5~4 PBPS1~PBPS0:PB3~PB0sourcecurrentselect
00:source=Level0(min.)
01:source=Level1
10:source=Level2
11:source=Level3(max.)
ThesebitsareavailablewhenthecorrespondingpinisconguredasaCMOSoutput.
Bit3~2 PAPS3~PAPS2:PA7andPA4sourcecurrentselect
00:source=Level0(min.)
01:source=Level1
10:source=Level2
11:source=Level3(max.)
ThesebitsareavailablewhenthecorrespondingpinisconguredasaCMOSoutput.
Bit1~0 PAPS1~PAPS0:PA3~PA0sourcecurrentselect
00:source=Level0(min.)
01:source=Level1
10:source=Level2
11:source=Level3(max.)
ThesebitsareavailablewhenthecorrespondingpinisconguredasaCMOSoutput.
SLEDC1 Register – BS82B12A-3
Bit 7 6 5 4 3 2 1 0
Name — — — —
PCPS3 PCPS2 PCPS1 PCPS0
R/W — — — — R/W R/W R/W R/W
POR — — — — 0 1 0 1
Bit7~4 Unimplemented,readas"0"
Bit3~2 PCPS3~PCPS2:PC7~PC4sourcecurrentselect
00:source=Level0(min.)
01:source=Level1
10:source=Level2
11:source=Level3(max.)
ThesebitsareavailablewhenthecorrespondingpinisconguredasaCMOSoutput.