Touch Key Register Definition
Each touch key module, which contains four touch key functions, has its own suite of six registers. The
following table shows the register set for each touch key module. The Mn within the register name
refers to the Touch Key module number and has a range of M0 to M5.
Name
Usage
TKMn16DH
16-bit C/F counter high byte
TKMn16DL
16-bit C/F counter low byte
TKMnC0
Control Register 0
Key Select/X2 freq/filter control/frequency select
TKMnC1
Control Register 1
Sensor Oscillator Control/Touch key or I/O select.
TKMnC2
Control Register 2
Counter on-off and clear control/reference clock control/Start bit
TKMnC3
Control Register 3
Counter overflow bits/Reference Oscillator Overflow Time Select
Register Listing
Register
Name
Bit
7
6
5
4
3
2
1
0
TKMn16DH
D7
D6
D5
D4
D3
D2
D1
D0
TKMn16DL
D7
D6
D5
D4
D3
D2
D1
D0
TKMnC0
MnMXS1
MnMXS0
D5
D4
D3
D2
D1
D0
TKMnC1
MnK4OEN
MnK3OEN
MnK2OEN
MnK1OEN
MnK4IO
MnK3IO
MnK2IO
MnK1IO
TKMnC2
Mn16CTON
D6
MnST
MnROEN
MnRCCLR
Mn16CTCLR
D1
MnROS
TKMnC3
D9
D8
MnRCOV
Mn16CTOV
D3
MnROVS2
MnROVS1
MnROVS0
Touch Key Module
TKMn16DH Register
Bit
7
6
5
4
3
2
1
0
Name
D7
D6
D5
D4
D3
D2
D1
D0
R/W
R
R
R
R
R
R
R
R
POR
0
0
0
0
0
0
0
0
Bit 7~0
Module n 16-bit counter high byte contents
TKMn16DL Register
Bit
7
6
5
4
3
2
1
0
Name
D7
D6
D5
D4
D3
D2
D1
D0
R/W
R
R
R
R
R
R
R
R
POR
0
0
0
0
0
0
0
0
Bit 7~0
Module n 16-bit counter low byte contents
Rev. 1.50
76
April 28, 2020
BS83B08-3/B12-3/B16-3/B16G-3/C24-3
8-Bit Touch Key Flash MCU