![](http://datasheet.mmic.net.cn/Analog-Devices-Inc/ADP5589ACPZ-00-R7_datasheet_96257/ADP5589ACPZ-00-R7_39.png)
Data Sheet
ADP5589
Rev. B | Page 39 of 52
GPIO_DIRECTION_C Register 0x32
Table 58. GPIO_DIRECTION_C Bit Descriptions
Bits
Name
R/W
Description
[7:3]
Reserved.
2
GPIO_19_DIR
R/W
0 = GPIO 19 is an input.
1 = GPIO 19 is an output.
1
GPIO_18_DIR
R/W
0 = GPIO 18 is an input.
1 = GPIO 18 is an output.
0
GPIO_17_DIR
R/W
0 = GPIO 17 is an input.
1 = GPIO 17 is an output.
UNLOCK1 Register 0x33
Table 59. UNLOCK1 Bit Descriptions
Bits
Name
R/W
Description
7
UNLOCK1_STATE
R/W
Defines which state the first unlock event should be
For key events:
0 = not applicable; releases not used for unlock.
1 = press is used as unlock event.
For GPIs and logic outputs configured for FIFO updates:
0 = inactive event used as reset condition.
1 = active event used as reset condition.
[6:0]
UNLOCK1[6:0]
R/W
Defines the first event that must be detected to unlock the keypad after LOCK_EN has been set.
UNLOCK2 Register 0x34
Table 60. UNLOCK2 Bit Descriptions
Bits
Name
R/W
Description
7
UNLOCK2_STATE
R/W
Defines which state the second unlock event should be.
For key events:
0 = not applicable; releases not used for unlock.
1 = press is used as unlock event.
For GPIs and logic outputs configured for FIFO updates:
0 = inactive event used as reset condition.
1 = active event used as reset condition.
[6:0]
UNLOCK2[6:0]
R/W
Defines the second event that must be detected to unlock the keypad after LOCK_EN has been set.
EXT_LOCK_EVENT Register 0x35
Table 61. EXT_LOCK_EVENT Bit Descriptions
Bits
Name
R/W
Description
7
EXT_LOCK_STATE
R/W
Defines which state the lock event should be.
For key events:
0 = not applicable; releases not used for unlock.
1 = press is used as unlock event.
For GPIs and logic outputs configured for FIFO updates:
0 = inactive event used as reset condition.
1 = active event used as reset condition.
[6:0]
EXT_LOCK_EVENT[6:0]
R/W
Defines an event that can lock the keypad.
When this event is detected, LOCK_INT is set.