Key-Scan
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
327
16.3.13
KS_ISR_RAW
Name:
Key-Scan Raw Interrupt Status Register
Size:
32 bits
Address offset:
0x30
Read/write access:
read-only
31
30
29
…
9
8
7
RSVD
6
5
4
3
2
1
0
KS_SCAN_EVENT_R
AW_INT_STATUS
KS_FIFO_LIMIT_RA
W_INT_STATUS
KS_FIFO_OV_RAW_
INT_STATUS
KS_FIFO_FULL_RA
W_INT_STATUS
KS_SCAN_FINISH_RA
W_INT_STATUS
KS_FIFO_NOTEMPTY_R
AW_INT_STATUS
KS_ALL_RELEASE_RA
W_INT_STATUS
R
R
R
R
R
R
R
Bit
Name
Access
Reset
Description
31:7 RSVD
N/A
-
Reserved
6
KS_SCAN_EVENT_RAW_INT_STATUS
R
0x0
Scan event raw interrupt status
KS_SCAN_EVENT_RAW_INT_STATUS is triggered when there is one or
more scan event(s) sent into FIFO in a full scan. It is automaticlly
cleared when the event is read by the KS_DATA register.
5
KS_FIFO_LIMIT_RAW_INT_STATUS
R
0x0
FIFO limit raw interrupt status
KS_FIFO_LIMIT_RAW_INT_STATUS is triggered when there is more
than KS_FIFO_LIMIT_LEVEL keys are pressed at a time. For Event
Trigger Mode, the pressed key isn’t sent into FIFO; and for Regular
Scan Mode, the first scanned keys with number KS_FIFO_LIMIT_LEVEL
are sent into FIFO.
4
KS_FIFO_OV_RAW_INT_STATUS
R
0x0
FIFO overflow raw interrupt status
KS_FIFO_OV_RAW_INT_STATUS is triggered when FIFO is completely
full (16 entries), and there is another event is sent into it. At this time,
whether to reject the new scan data or discard the oldest scan data is
controlled by KS_FIFO_OV_CTRL.
3
KS_FIFO_FULL_RAW_INT_STATUS
R
0x0
FIFO full raw interrupt status
KS_FIFO_FULL_RAW_INT_STATUS is triggered when the number of
events in the FIFO reaches or goes above the threshold in the
KS_FIFO_TH_LEVEL. It is automaticlly cleared when the data level
goes below the threshold.
2
KS_SCAN_FINISH_RAW_INT_STATUS
R
0x0
Scan finish raw interrupt status
KS_SCAN_FINISH_RAW_INT_STATUS is triggered when each full scan
finished whether there is any key press or release events occur or
not.
1
KS_FIFO_NOTEMPTY_RAW_INT_STATUS R
0x0
FIFO non-empty raw interrupt status
KS_FIFO_NOTEMPTY_RAW_INT_STATUS is triggered when there are
events in the FIFO. It is automaticlly cleared when the FIFO is empty.
0
KS_ALL_RELEASE_RAW_INT_STATUS
R
0x0
All release raw interrupt status
KS_ALL_RELEASE_RAW_INT_STATUS is triggered when the release
time counter reaches the value set in the KS_RELEASE_TIMER and
there is no more keys pressed.
16.3.14
KS_DUMMY
Name:
Key-Scan Interval Polarity and Discharge Configuration Register
Size:
32 bits
Address offset:
0x34
Read/write access:
read/write
31
30
29
…
18
17
16
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03