English
Language : 

BS67F340 Datasheet, PDF (226/281 Pages) Holtek Semiconductor Inc – Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
TKC1 Register
Bit
7
6
5
4
3
2
1
0
Name
D7
D6
D5
TSCS TK16S1 TK16S0 TKFS1 TKFS0
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
1
1
Bit 7~5
Bit 4
Bit 3~2
Bit 1~0
D7~D5: Data bits for test only
These bits are used for test purpose only and must be kept as “000” for normal
operations.
TSCS: Touch key time slot counter select
0: Each touch key module uses its own time slot counter
1: All touch key modules use Module 0 time slot counter
TK16S1~TK16S0: Touch key function 16-bit counter clock source select
00: fSYS
01: fSYS/2
10: fSYS/4
11: fSYS/8
TKFS1~TKFS0: Touch key oscillator and Reference oscillator frequency select
00: 500 kHz
01: 1000 kHz
10: 1500 kHz
11: 2000 kHz
TK16DH/TK16DL – Touch Key Function 16-bit Counter Register Pair
Register
TK16DH
TK16DL
Bit
7 6 5 4 3 2 1 0 7 6 5 4 3 2 10
Name D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
R/W R R R R R R R R R R R R R R R R
POR 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
This register pair is used to store the touch key function 16-bit counter value. This 16-bit counter can
be used to calibrate the reference or key oscillator frequency. When the touch key time slot counter
overflows in the manual scan mode, this 16-bit counter will be stopped and the counter content will
be unchanged. However, this 16-bit counter content will be cleared to zero at the end of the time slot 0,
slot 1 and slot 2 but kept unchanged at the end of the time slot 3 in the auto scan mode. This register
pair will be cleared to zero when the TKST bit is set low.
TKMn16DH/TKMn16DL – Touch Key Module n 16-bit C/F Counter Register Pair
Register
TKMn16DH
TKMn16DL
Bit
7 6 5 4 3 2 1 0 7 6 5 4 3 2 10
Name D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
R/W R R R R R R R R R R R R R R R R
POR 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
This register pair is used to store the touch key module n 16-bit C/F counter value. This 16-bit C/
F counter will be stopped and the counter content will be kept unchanged when the touch key time
slot counter overflows in the manual scan mode. However, this 16-bit C/F counter content will be
cleared to zero at the end of the time slot 0, slot 1 and slot 2 but kept unchanged at the end of the
time slot 3 when the auto scan mode is selected. This register pair will be cleared to zero when the
TKST bit is set low.
Rev. 1.40
226
December 15, 2016