EasyManua.ls Logo

Holtek BS82B12A-3 - Touch Key Function; To�Ch Ke� St; Touch Key Register Definition

Holtek BS82B12A-3
168 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.20 98 January 23, 2015 Rev. 1.20 99 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
Touch Key Function
Eachdeviceprovidesmultipletouchkeyfunctions.Thetouchkeyfunctionisfullyintegratedand
requiresnoexternalcomponents,allowingtouchkeyfunctionstobeimplementedbythesimple
manipulationofinternalregisters.
Touch Key Structure
ThetouchkeysarepinsharedwiththePA~PDlogicI/Opins,withthedesiredfunctionchosenvia
registerbits.Keysareorganisedintoseveralgroups,witheachgroupknownasamoduleandhaving
amodulenumber,M0toMn.EachmoduleisafullyindependentsetoffourTouchKeysandeach
TouchKeyhasitsownoscillator.Eachmodulecontainsitsowncontrollogiccircuitsandregister
set.Examinationoftheregisternameswillrevealthemodulenumberitisreferringto.
Device Keys - n Touch Key Module Touch Key Shared I/O Pin
BS82B12A-3 12
M0 K
ey1~Key4 PB0~PB3
M1 Key5~Key8 PB4~PB7
M2 K
ey9~Key12 PC0~PC3
BS82C16A-3 16
M0 K
ey1~Key4 PB0~PB3
M1 Key5~Key8 PB4~PB7
M2 K
ey9~Key12 PC0~PC3
M3 Key13~Key16 PC4~PC7
BS82D20A-3 20
M0 K
ey1~Key4 PB0~PB3
M1 Key5~Key8 PB4~PB7
M2 K
ey9~Key12 PD3, PD2, PC0, PC1
M3 Key13~Key16 PC2~PC5
M4 Key17~Key20
PC6, PC7,
PA4, PA1
Touch Key Register Denition
Eachtouchkeymodule,whichcontainsfourtouchkeyfunctions,hasitsownsuiteregisters.
Thefollowingtableshowstheregistersetforeachtouchkeymodule.TheMnwithintheregister
namereferstotheTouchKeymodulenumber,theBS82B12A-3hasarangeofM0toM2,the
BS82C16A-3hasarangeofM0toM3,theBS82D20A-3hasarangeofM0toM4.
Name Usage
TKTMR
Touch Key 8-bit timer/counter register
TKC0 Counter on-off and clear control/reference clock control/Start bit
TK16DL Touch key module 16-bit counter low byte contents
TK16DH Touch key module 16-bit counter high byte contents
TKC1 Touch key OSC frequency select
TKMn16DL Module n 16-bit counter low byte contents
TKMn16DH Module n 16-bit counter high byte contents
TKMnROL Reference OSC internal capacitor select
TKMnROH Reference OSC internal capacitor select
TKMnC0
Control Register 0
Multiplexer Key Select
TKMnC1
Control Register 1
Key oscillator control/Reference oscillator control/ Touch key or I/O select
Register Listing (n=0~4)

Table of Contents

Related product manuals