English
Language : 

ADP5586 Datasheet, PDF (21/44 Pages) Analog Devices – Keypad Decoder and I/O Port Expander
Data Sheet
ADP5586
DETAILED REGISTER DESCRIPTIONS
Note that all registers default to 0000 0000, unless otherwise specified.
ID, Register 0x00
Default: 0011 XXXX (where X = don’t care)
Table 8. ID Bit Descriptions
Bits Bit Name
[7:4] MAN_ID
[3:0] REV_ID
Access
Read only
Read only
Description
Manufacturer ID, default = 0011
Revision ID
INT_STATUS, Register 0x01
Table 9. INT_STATUS Bit Descriptions
Bits Bit Name
Access
[7:5] Reserved
Reserved
4
LOGIC_INT
Read/write
3
Reserved
2
OVERFLOW_INT
Reserved
Read/write
1
GPI_INT
Read/write
0
EVENT_INT
Read/write
Description1
Reserved.
0 = no interrupt.
1 = interrupt due to a general logic condition.
Reserved.
0 = no interrupt.
1 = interrupt due to an overflow condition.
This bit is not set by a GPI that has been configured to update the FIFO and event count.
This bit cannot be cleared until all GPI_x_INT bits are cleared.
0 = no interrupt.
1 = interrupt due to a general GPI condition.
0 = no interrupt.
1 = interrupt due to key event (press/release), GPI event (GPI programmed for FIFO
updates), or logic event (programmed for FIFO updates).
1 Interrupt bits are cleared by writing a 1 to the flag; writing a 0 or reading the flag has no effect.
Status, Register 0x02
Table 10. Status Bit Descriptions
Bits Bit Name
Access
7
Reserved
Reserved
6
LOGIC_STAT
Read only
5
Reserved
[4:0] EC[4:0]
Reserved
Read only
Description
Reserved.
0 = output from logic block (LY) is low.
1 = output from logic block (LY) is high.
Reserved.
Event count value. Indicates how many events are currently stored on the FIFO.
FIFO_1, Register 0x03
Table 11. FIFO_1 Bit Descriptions
Bits Bit Name
Access
7
EVENT1_STATE
Read only
[6:0] EVENT1_IDENTIFIER[6:0] Read only
Description
This bit represents the state of the event that is recorded in the EVENT1_IDENTIFIER[6:0] bits.
For key events from Event 1 to Event 36, use the following settings:
1 = key is pressed.
0 = key is released.
For GPI and logic events from Event 37 to Event 48, use the following settings:
1 = GPI/logic is active.
0 = GPI/logic is inactive.
Active and inactive states for Event 37 to Event 48 are programmable.
Contains the event identifier for the pin. See Table 12 for event decoding information.
Rev. 0 | Page 21 of 44