
Rev. 1.00
565 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
28 T
ouch Key
28 T
ouch Key
TKMn Key Configuration Register – TKMnKCFGR
This register specifies the corresponding Key 0 to Key 3 function enable control.
Offset:
0x100 × (n + 1)+0x004
Reset value: 0x00E4_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
MnSK3
MnSK2
MnSK1
MnSK0
Type/Reset RW 1 RW 1 RW 1 RW 0 RW 0 RW 1 RW 0 RW 0
15
14
13
12
11
10
9
8
Reserved
MnK3THS MnK2THS MnK1THS MnK0THS
Type/Reset
RW 0 RW 0 RW 0 RW 0
7
6
5
4
3
2
1
0
Reserved
MnK3EN
MnK2EN
MnK1EN
MnK0EN
Type/Reset
RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[23:22]
MnSK3
Touch Key Module n Time Slot 3 key Scan Selection
00: Key 0
01: Key 1
10: Key 2
11: Key 3
These bits are used to select the desired scan key in time slot 3 in the auto scan
mode or the periodic auto scan mode. The settings for these bits are invalid when
the TKMOD bit field is b01.
[21:20]
MnSK2
Touch Key Module n Time Slot 2 Key Scan Selection
00: Key 0
01: Key 1
10: Key 2
11: Key 3
These bits are used to select the desired scan key in time slot 2 in the auto scan
mode or the periodic auto scan mode. The settings for these bits are invalid when
the TKMOD bit field is b01.
[19:18]
MnSK1
Touch Key Module n Time Slot 1 Key Scan Selection
00: Key 0
01: Key 1
10: Key 2
11: Key 3
These bits are used to select the desired scan key in time slot 1 in the auto scan
mode or the periodic auto scan mode. The settings for these bits are invalid when
the TKMOD bit field is b01.