beautypg.com

Rainbow Electronics W90N745CDG User Manual

Page 382

background image

W90N745CD/W90N745CDG

- 378 -

Key Pad Interface Status Register (KPISTATUS)

REGISTER

ADDRESS

R/W DESCRIPTION RESET

VALUE

KPISTATUS 0xFFF8_800C R/O

key

pad status register

0x0000_0000

31

30

29

28

27

26

25

24

RESERVED

23

22

21

20

19

18

17

16

RESERVED INT

3 K R S T P D W A K E

3KEY 2KEY 1KEY

15

14

13

12

11

10

9

8

RESERVED KEY1R

KEY1C

7

6

5

4

3

2

1

0

RESERVED KEY0R

KEY0C

BITS

DESCRIPTION

[31:22] RESERVED

-

[21] INT

Key interrupt
This bit indicates the key scan interrupt is active and that one or two
keys have changed status. The interrupt also occur when the three
specified keys are detected if ENRST bit in KPI3KFCON is cleared.
It will be cleared by hardware automatically when software read
KPISTATUS register.

[20]

3KRST

3-Keys reset flag
This bit is a record flag for software reference, it will be set after 3-
keys reset occur.
1 = 3 keys reset
0 = not reset.
This bit is cleared while it is read.

[19]

PDWAKE

Power Down Wakeup flag
This flag indicates the chip is wakeup from power down by keypad
1 =wakeup up by keypad
0 = not wakeup

[18] 3KEY

Specified three-key is detected.
This flag indicates specified-three-keys was detected. Software can
read this bit to know the keypad interrupt is 3 key or not.