Datasheet

Data Sheet ADP5587
Rev. D | Page 15 of 24
REGISTERS
The general behavior of registers is as follows:
All registers are 0 on reset.
All registers are read/write unless otherwise specified.
Unused bits are read as 0.
Interrupt bits are cleared by writing 1 to the flag; writing 0
or reading the flag has no effect, with the exception of the
key press, key release, and GPIO interrupt status registers,
which are cleared on a read.
Table 15.
Address Register Name Description
0x00 DEV_ID Device ID
0x01 CFG Configuration Register 1
0x02 INT_STAT Interrupt status register
0x03 KEY_LCK_EC_STAT Keylock and event counter register
0x04 KEY_E VENTA Key Event Register A
0x05 KEY_EVENTB Key Event Register B
0x06 KEY_EVENTC Key Event Register C
0x07 KEY_EVENTD Key Event Register D
0x08 KEY_EVENTE Key Event Register E
0x09 KEY_EVENTF Key Event Register F
0x0A
KEY_EVENTG
Key Event Register G
0x0B KEY_EVENTH Key Event Register H
0x0C KEY_EVENTI Key Event Register I
0x0D KEY_EVENTJ Key Event Register J
0x0E KP_LCK_TMR Keypad Unlock 1 timer to Keypad Unlock 2 timer
0x0F UNLOCK1 Unlock Key 1
0x10 UNLOCK2 Unlock Key 2
0x11 GPIO_INT_STAT1 GPIO interrupt status
0x12 GPIO_INT_STAT2 GPIO interrupt status
0x13 GPIO_INT_STAT3 GPIO interrupt status
0x14 GPIO_DAT_STAT1 GPIO data status, read twice to clear
0x15 GPIO_DAT_STAT2 GPIO data status, read twice to clear
0x16 GPIO_DAT_STAT3 GPIO data status, read twice to clear
0x17 GPIO_DAT_OUT1 GPIO data out
0x18 GPIO_DAT_OUT2 GPIO data out
0x19 GPIO_DAT_OUT3 GPIO data out
0x1A GPIO_INT_EN1 GPIO interrupt enable
0x1B
GPIO_INT_EN2
GPIO interrupt enable
0x1C GPIO_INT_EN3 GPIO interrupt enable
0x1D KP_GPIO1 Keypad or GPIO selection
0x1E KP_GPIO2 Keypad or GPIO selection
0x1F KP_GPIO3 Keypad or GPIO selection
0x20 GPI_EM_REG1 GPI Event Mode 1
0x21 GPI_EM_REG2 GPI Event Mode 2
0x22 GPI_EM_REG3 GPI Event Mode 3
0x23 GPIO_DIR1 GPIO data direction
0x24 GPIO_DIR2 GPIO data direction
0x25 GPIO_DIR3 GPIO data direction
0x26 GPIO_INT_LVL1 GPIO level detect
0x27 GPIO_INT_LVL2 GPIO level detect
0x28 GPIO_INT_LVL3 GPIO level detect
0x29 DEBOUNCE_DIS1 Debounce disable