Key-Scan
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
323
Size:
32 bits
Address offset:
0x0C
Read/write access:
read/write
31
30
…
5
4
3
2
1
0
RSVD
KS_WORK_MODE
RSVD
KS_BUSY_STATUS
KS_RUN_ENABLE
R/W
RO
R/W
Bit
Name
Access
Reset
Description
31:4
RSVD
N/A
-
Reserved
3
KS_WORK_MODE
R/W
0x0
Work mode
0x1: Event Trigger Mode
0x0: Regular Scan Mode
2
RSVD
N/A
-
Reserved
1
KS_BUSY_STATUS
RO
0x0
FSM busy status
0
KS_RUN_ENABLE
R/W
0x0
Enable Key-Scan internal scan clock
The Key-Scan clock must be enabled after Key-Scan configuration is done.
0x1: Enable Key-Scan clock
0x0: Disable Key-Scan clock
16.3.5
KS_FIFO_CFG
Name:
Key-Scan FIFO Configuration Register
Size:
32 bits
Address offset:
0x10
Read/write access:
read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
KS_FIFO_LIMIT_LEVEL
RSVD
KS_FIFO_TH_LEVEL
R/W
R/W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
KS_FIFO_
OV_CTRL
KS_FIFO
_CLR
R/W
W1C
Bit
Name
Access
Reset
Description
31:28
RSVD
N/A
-
Reserved
27:24
KS_FIFO_LIMIT_LEVEL
R/W
0x0
Limit the max allowable key number be pressed at a time
0x0: No limit
0x1: Only one pressed event is allowable at a time
…
0x6: Max 6 pressed event is allowable at a time
0x7 ~ 0xf: DO NOT USE
23:20
RSVD
N/A
-
Reserved
19:16
KS_FIFO_TH_LEVEL
R/W
0x0
FIFO threshold setup
15:2
RSVD
N/A
-
Reserved
1
KS_FIFO_OV_CTRL
R/W
0x0
FIFO overflow control
0x0: Rejects the new scan data when FIFO is totally full
0x1: Discards the oldest scan data when FIFO is totally full
0
KS_FIFO_CLR
W1C
-
Write 1 to clear FIFO data
16.3.6
KS_COL_CFG
Name:
Key-Scan Column Configuration Register
Size:
32 bits
Address offset:
0x14
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03