Datasheet
ADP5587 Data Sheet
Rev. D | Page 18 of 24
Table 21. KP_LCK_TMR—Register 0x0E (Keypad Unlock 1 Timer 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 Keypad Unlock 1 timer 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 timer 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 22. 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 Unlock Key 1[6:0] (contains key number
for Unlock Key 1; 0: disabled)
N/A ULK6 ULK5 ULK4 ULK3 ULK2 ULK1 ULK0
Table 23. 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 Unlock Key 2[6:0] (contains key number
for Unlock Key 2; 0: disabled)
N/A ULK6 ULK5 ULK4 ULK3 ULK2 ULK1 ULK0
Table 24. GPIO_INT_STATx—Register 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 25. 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
Table 26. GPIO_DAT_OUTx—Register 0x17 to Register 0x19 (GPIO Data Out)
Register Name
Register Description
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
GPIO_DAT_OUT1
(Register 0x17)
GPIO data out (GPIO data to be written
to GPIO out driver, inputs are not
affected). This is needed so that the
value can be written prior to being set
as an output.
R7DO R6DO R5DO R4DO R3DO R2DO R1DO R0DO
GPIO_DAT_OUT2
(Register 0x18)
GPIO data out (GPIO data to be written
to GPIO out driver, inputs are not
affected). This is needed so that the
value can be written prior to being set
as an output.
C7DO C6DO C5DO C4DO C3DO C2DO C1DO C0DO
GPIO_DAT_OUT3
(Register 0x19)
GPIO data out (GPIO data to be written
to GPIO out driver, inputs are not
affected). This is needed so that the
value can be written prior to being set
as an output.
N/A N/A N/A N/A N/A N/A C9DO C8DO