Datasheet

ADP5588 Data Sheet
Rev. C | Page 18 of 28
Register Name Register Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
KEY_EVENTI
(Register 0x0C)
Key Event Register B status (KE[6:0] = Key number),
KP[7] = 0: released, 1: pressed (cleared on read)
KI7 KI6 KI5 KI4 KI3 KI2 KI1 KI0
KEY_EVENTJ
(Register 0x0D)
Key Event Register B status (KE[6:0] = Key number),
KP[7] = 0: released, 1: pressed (cleared on read)
KJ7 KJ6 KJ5 KJ4 KJ3 KJ2 KJ1 KJ0
1
Data in key events is provided as a FIFO, where data is sequentially provided on each read, regardless of an event register read. The user can read register Event A only
for an event count or can read registers sequentially.
2
KE[6:0] reflects the value 1 to 80 for key press events and the value 97 to 114 for GPI events. For KE[7:0], 0 = key released event, 1 = key pressed event. For GPIEM_CFG,
0 reflects a change in the GPI from GPI_INT_LVL = true to GPI_INT_LVL = false; 1 reflects a change in the GPI in which the GPI_INT_LVL condition becomes true.
Table 23. KP_LCK_TMRRegister 0x0E (Keypad Unlock 1 to Keypad Unlock 2 Timer)
Register Name
Register Description
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
KP_LCK_TMR
(Register 0x0E)
Keypad UnLock 1 to Keypad UnLock 2 timer[2:0]
(0: disabled, 1 sec to 7 sec)
Keypad Lock Interrupt Mask Timer[7:3]
(0: disabled, 0 sec to 31 sec)
1,
2
KIMT7 KIMT6 KIMT5 KIMT4 KIMT3 KLLT2 KLLT1 KLLT0
1
When the keypad lock interrupt mask timer is enabled, the user must press two specific keys before a keylock interrupt is generated or keypad events are recorded.
After the keypad is locked, the first time that the user presses any key, a key event interrupt is generated. No additional interrupt is generated unless both unlock key
sequences are correct; then a keylock interrupt is generated. When the interrupt mask timer is disabled (0), an interrupt is generated only when the correct full unlock
sequence is completed.
2
The Unlock 1 and Unlock 2 timer keys can be either a key sequence or GPIEM_CFG sequence. The unlock timer keys can be programmed with any value of the keys in
the keypad matrix or any GPI values that are part of the key event table. The keylock enable bit (Bit 6, Register 0x03) must be set to lock the keypad.
Table 24. UNLOCK1—Register 0x0F (Unlock Key 1)
Register Name Register Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
UNLOCK1
(Register 0x0F)
Unlock Key 1[6:0] (contains key number
for Unlock Key 1; 0: disabled)
N/A ULK6 ULK5 ULK4 ULK3 ULK2 ULK1 ULK0
Table 25. UNLOCK2—Register 0x10 (Unlock Key 2)
Register Name Register Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
UNLOCK2
(Register 0x10)
Unlock Key 2[6:0] (contains key number
for Unlock Key 2; 0: disabled)
N/A ULK6 ULK5 ULK4 ULK3 ULK2 ULK1 ULK0
Table 26. GPIO_INT_STATxRegister 0x11 to Register 0x13 (GPIO Interrupt Status)
Register Name Register Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
GPIO_INT_STAT1
(Register 0x11)
GPIO interrupt status (used to check
GPIO interrupt status, cleared on read)
R7IS
R6IS
R5IS
R4IS
R3IS
R2IS
R1IS
R0IS
GPIO_INT_STAT2
(Register 0x12)
GPIO interrupt status (used to check
GPIO interrupt status, cleared on read)
C7IS C6IS C5IS C4IS C3IS C2IS C1IS C0IS
GPIO_INT_STAT3
(Register 0x13)
GPIO interrupt status (used to check
GPIO interrupt status, cleared on read)
N/A N/A N/A N/A N/A N/A C9IS C8IS
Table 27. GPIO_DAT_STATx—Register 0x14 to Register 0x16 (GPIO Data Status)
Register Name Register Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
GPIO_DAT_STAT1
(Register 0x14)
GPIO data status (shows GPIO state
when read for inputs)
R7DS
R6DS
R5DS
R4DS
R3DS
R2DS
R1DS
R0DS
GPIO_DAT_STAT2
(Register 0x15)
GPIO data status (shows GPIO state
when read for inputs)
C7DS C6DS C5DS C4DS C3DS C2DS C1DS C0DS
GPIO_DAT_STAT3
(Register 0x16)
GPIO data status (shows GPIO state
when read for inputs)
N/A N/A N/A N/A N/A N/A C9DS C8DS