Datasheet

Data Sheet ADP5585
Rev. C | Page 19 of 40
DETAILED REGISTER DESCRIPTIONS
Note that N/A throughout this section means not applicable.
Note: All register default to 0000 0000 unless otherwise specified.
ID Register 0x00
Table 7. ID Bit Descriptions
Bit(s) Bit Name Access Description
7 to 4 MAN_ID Read only Manufacturer ID, default = 0010
3 to 0 REV_ID Read only Rev ID
INT_STATUS Register 0x01
Table 8. INT_STATUS Bit Descriptions
Bit(s)
Bit Name
Access
Description
1
7 to 5 N/A Reserved.
4 LOGIC_INT Read/write 0 = no interrupt.
1 = interrupt due to a general logic condition.
3 N/A Reserved.
2
OVERFLOW_INT
Read/write
0 = no interrupt.
1 = interrupt due to an overflow condition.
1
GPI_INT
Read/write
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 EVENT_INT Read/write 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 9. Status Bit Descriptions
Bit(s) Bit Name Access Description
7 N/A Reserved.
6
LOGIC_STAT
Read only
0 = output from logic block (LY) is low.
1 = output from logic block (LY) is high.
5 N/A Reserved.
4 to 0 EC[4:0] Read only Event count value. Indicates how many events are currently stored on the FIFO.
FIFO_1 Register 0x03
Table 10. FIFO_1 Bit Descriptions
Bit(s) Bit Name Access Description
7 EVENT1_STATE Read only This bit represents the state of the event that is recorded in the EVENT1_IDENTIFIER[6:0] bit.
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.
6 to 0 EVENT1_IDENTIFIER[6:0] Read only Contains the event identifier for the pin. Refer to Table 11.