
NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 1231 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
Keypad Interface (KPI)
5.33
5.33.1 Overview
The Keypad Interface (KPI) is an APB slave with configurable minimum 2-row up to 4-row scan
output and minimum 2-column up to 8-column scan input. Any keys in the array pressed or
released are de-bounced and generate an interrupt.
The KPI supports release multiple keys, press multiple keys scan interrupt for chip reset. If the 3
pressed keys matches with the 3 keys defined in KPI3KCONF, it will generate an chip reset
depend on the EN3KYRST (KPI3KCONF[24]) setting. The interrupt is generated whenever it
detects any key in the keypad pressing or releasing or waking up from IDLE. User can know the
interrupt source by querying KPISTATUS register.
5.33.2 Features
Matrix keypad interface (maximum 4x8 array, and minimum 2x2 array).
Programmable de-bounce time.
Low-power wakeup mode.
Programmable three-key reset.
Generate interrupt and update all the keys (maximum 32 keys, minimum 4 keys) information
(press/release) every time the user pressing or releasing.