English
Language : 

BS83A04A-3 Datasheet, PDF (43/72 Pages) Holtek Semiconductor Inc – Touch Key 8-bit Flash MCU
BS83A04A-3/BS83A04A-4
8-bit Touch Key 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]) x 32
TKC0 Register
Bit
7
6
5
4
3
2
1
0
Name
— TKRCOV TKST TKCFOV TK16OV
—
TK16S1 TK16S0
R/W
—
R/W
R/W
R/W
R/W
—
R/W
R/W
POR
—
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 module 0 time slot counter is overflow, the Touch Key Interrupt request flag will be
set (TKMF) 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 input these counter.
TKCFOV: Touch key module 16-bit C/F counter overflow flag
0: not overflow
1: overflow
This bit must be clear by software.
TK16OV: Touch key module 16-bit counter overflow flag
0: not overflow
1: overflow
This bit must be clear by software.
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.00
43
February 28, 2013