English
Language : 

BS83A02A-4 Datasheet, PDF (47/81 Pages) Holtek Semiconductor Inc – Touch I/O Flash MCU
BS83A02A-4/BS83A04A-3/BS83A04A-4
Touch I/O Flash MCU
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
The Time slot counter overflow time setup is (256-TKTMR[7:0]) × 32
TKC0 Register
Bit
Name
R/W
POR
7
6
5
4
3
2
1
0
— TKRCOV TKST TKCFOV TK16OV
—
TK16S1 TK16S0
—
R/W
R/W
R/W
R/W
—
R/W
R/W
—
0
0
0
0
—
0
0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1,0
Unimplemented, read as "0"
TKRCOV: Time slot counter overflow flag
0: No overflow
1: Overflow
If time slot counter is overflow, the Touch Key Interrupt request flag, TKMF, will be
set and module key oscillator and reference oscillator 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
auto off.
TKST: Start Touch Key detection control bit
0:Stop
0→1:On
If this bit is 0, the 16-bit C/F counter, 16-bit counter, 5-bit time slot counter will aotu
clear except for the 8-bit programmable time slot counter is not kown, its overflow
time is setup by the user.
0→1: By the TKST rising edge, the 16-bit C/F counter, 16-bit counter, 5-bit time slot
counter and 8-bit time slot timer counter will auto on and enable key oscillator and
reference oscillator output clock to input to these counters.
TKCFOV: Touch key module 16-bit C/F counter overflow flag
0: Not overflow
1: Overflow
When the touch key module 16-bit C/F counter overflows, this bit will be set to 1.
As this flag will not be automatically cleared, it has to be cleared by the application
program.
TK16OV: Touch key module 16-bit counter overflow flag
0: Not overflow
1: Overflow
When the touch key module 16-bit counter overflows, this bit will be set to 1. As this
flag will not be automatically cleared, it has to be cleared by the application program.
Unimplemented, read as "0"
TK16S1, TK16S0: touch key module 16-bit counter clock source selection
00: fSYS /1
01: fSYS /2
10: fSYS /4
11: fSYS /8
Rev. 1.71
47
April 11, 2017