EasyManua.ls Logo

Holtek BS82B12A-3 - Page 100

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 100 January 23, 2015 Rev. 1.20 101 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
Register
Name
Bit
7 6 5 4 3 2 1 0
TKTMR D7 D6
D5 D4 D3 D2 D1 D0
TKC0 TKRCOV TKST TKCFOV TK16OV TSCS TK16S1 TK16S0
TK16DL D7 D6
D5 D4 D3 D2 D1 D0
TK16DH D
15 D14 D13 D12 D11 D10 D9 D8
TKC1 TKFS1 TKFS0
TKMn16DL D7 D6
D5 D4 D3 D2 D1 D0
TKMn16DH D
15 D14 D13 D12 D11 D10 D9 D8
TKMnROL D7 D6
D5 D4 D3 D2 D1 D0
TKMnROH D9 D8
TKMnC0 MnMXS1 MnMXS0 MnDFEN MnFILEN MnSOFC MnSOF2 MnSOF1 MnSOF0
TKMnC1 MnTSS MnROEN MnKOEN MnK4IO Mn
K3IO MnK2IO MnK1IO
Touch Key Module (n=0~4)
TKTMR Register
Bit 7 6 5 4 3 2 1 0
Name D7 D6
D5 D4 D3 D2 D1 D0
R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR 0 0 0 0 0 0 0 0
Bit7~0 TouchKey8-bittimer/counterregister
Timeslotcounteroverowset-uptimeis(256-TKTMR[7:0])×32
TKC0 Register
Bit 7 6 5 4 3 2 1 0
Name TKRCOV TKST TKCFOV TK16OV TSCS TK16S1 TK16S0
R/W R/W R/W R/W R/W R/W R/W R/W
POR 0 0 0 0 0 0 0
Bit7 Unimplemented,readas"0"
Bit6 TKRCOV:Timeslotcounteroverowag
0:Nooverow
1:Overow
Ifmodule0orallmoduletimeslotcounter,selectedbytheTSCSbit,isoverow,the
TouchKeyInterruptrequestag,TKMF,willbesetandallmodulekeyOSCsandref
OSCsautostop.Allmodule16-bitC/Fcounter,16-bitcounter,5-bittimeslotcounter
and8-bittimeslottimercounterwillbeautomaticallyswitchedoff.
B
it5 TKST:StartTouchKeydetectioncontrolbit
0:Stopped
0->1:Started
Inallmodulesthe16-bitC/Fcounter,16-bitcounter,5-bittimeslotcounterwill
beautomaticallyclearedwhenthisbitisclearedtozero(8-bitprogrammabletime
slotcounterwillnotbecleared,whichoverflowtimeissetupbyuser).Whenthis
bitchangesfromlowtohigh,the16-bitC/Fcounter,16-bitcounter,5-bittimeslot
counterand8-bittimeslottimercounterwillbeautomaticallyonandenablekeyOSC
andrefOSCoutputclockinputtothesecounters.
B
it4 TKCFOV:Touchkeymodule16-bitC/Fcounteroverowag
0:Notoverow
1:Overow
Thisbitmustbeclearedbyapplicationprogram.

Table of Contents

Related product manuals