
ML51/ML54/ML56
Sep. 01, 2020
Page
683
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
TKSTA0
– Touch Key Status 0 Register
Register
Memory Address
Reset Value
TKSTA0
8008H
0000_0000 b
7
6
5
4
3
2
1
0
-
TKIF_ALL
TKIF
TKSCIF
TKBUSY
-
R/W
R/W
R/W
R/W
Bit
Name
Description
[7:4]
-
Reserved.
[3]
TKIF_ALL
All Keys Scan Interrupt Flag
0 = No threshold control event with All Keys Scan.
1 = Threshold control event occurs with All Keys Scan.
This bit will be set 1 only when SCAN_ALL bit enabled. and into TK interrupt if TKSCTHIE
(TKINTEN.0) bit is enabled.
[2]
TKIF
Key Scan Interrupt Flag (Read Only)
0 = No threshold control event with each Key Scan.
1 = Threshold control event occurs with each Keys Scan.
This bit is 1 while any one of TKIF0~TKIF14 is 1.
[1]
TKSCIF
Touch Key Scan Complete Interrupt Flag
0 = Key scan is proceeding and data is not ready for read.
1 = Key scan is complete and data is ready for read in TKDATx registers.
Note 1:
The Touch Key interrupt asserts if TKSCIE bit of TKINTEN register is set.
Note 2:
The Touch Key interrupt also asserts if STHIE bit of TKINTEN register is set and
any channel data value is greater/less than its threshold setting.
[0]
TKBUSY
Touch Key Busy (Read Only)
0 = Key scan is complete or stopped.
1 = Key scan is proceeding.