
Data Sheet ADP5586
Rev. 0 | Page 21 of 44
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 Access Description
[7:4] MAN_ID Read only Manufacturer ID, default = 0011
[3:0] REV_ID Read only Revision ID
INT_STATUS, Register 0x01
Table 9. INT_STATUS Bit Descriptions
1
[7:5] Reserved Reserved Reserved.
4 LOGIC_INT Read/write 0 = no interrupt.
1 = interrupt due to a general logic condition.
3 Reserved Reserved Reserved.
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 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 10. Status Bit Descriptions
Bits Bit Name Access Description
7 Reserved Reserved Reserved.
6 LOGIC_STAT Read only 0 = output from logic block (LY) is low.
1 = output from logic block (LY) is high.
5 Reserved Reserved Reserved.
[4:0] EC[4:0] Read only 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 Description
7 EVENT1_STATE Read only 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.
[6:0] EVENT1_IDENTIFIER[6:0] Read only Contains the event identifier for the pin. See Table 12 for event decoding information.
Komentarze do niniejszej Instrukcji