ADP5588-EVALZ Analog Devices Inc, ADP5588-EVALZ Datasheet - Page 17

no-image

ADP5588-EVALZ

Manufacturer Part Number
ADP5588-EVALZ
Description
Column Keypad Scanner & GPIO Port Expand
Manufacturer
Analog Devices Inc
Datasheet

Specifications of ADP5588-EVALZ

Main Purpose
Interface, GPIO Expander
Embedded
No
Utilized Ic / Part
ADP5588
Primary Attributes
8-Bit 18-Port GPIO Expander
Secondary Attributes
I²C Interface
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Table 20. INT_STAT—Register 0x02 (Interrupt Status Register)
Field
CMP2_INT
CMP1_INT
OVR_FLOW_INT
K_LCK_INT
GPI_INT
KE_INT
1
2
3
Table 21. KEY_LCK_EC_STAT—Register 0x03 (Keylock and Event Counter Register)
Field
K_LCK_EN
LCK2, LCK1
KEC
1
Table 22. KEY_EVENTx—Register 0x04 to Register 0x0D (Key Event Register A to Key Event Register J)
Register Name
KEY_EVENTA
(Register 0x04)
KEY_EVENTB
(Register 0x05)
KEY_EVENTC
(Register 0x06)
KEY_EVENTD
(Register 0x07)
KEY_EVENTE
(Register 0x08)
KEY_EVENTF
(Register 0x09)
KEY_EVENTG
(Register 0x0A)
KEY_EVENTH
(Register 0x0B)
The KE_INT, GPI_INT, and OVR_FLOW_INT bits reflect the status of the interrupts when the interrupt types are enabled even if the processor interrupt is masked.
The K_LCK_INT bit is the interrupt to the processor when the keypad lock sequence is triggered.
If there is a pending key event or GPI interrupt in their respective registers, KE_INT does not clear until the FIFO is empty, and the GPI_INT bit does not clear until the
cause of the interrupt is resolved. The host must write a 1 to the INT bits to clear.
The KEC bit indicates the key event count of key event registers that have values in the bit (KEC(0000) = 0 events, KEC(0001) = 1 event, KEC(1010) = 10 events. As the
key events are read and cleared, the state machine automatically reduces the event count on KEC.
1
1, 3
1, 3
2
2
1
Register Description
Key Event Register A status (KE[6:0] = Key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register B status (KE[6:0] = Key number),
KP[7 ]= 0: released, 1: pressed (cleared on read)
Key Event Register C status (KE[6:0] = Key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register B status (KE[6:0] = Key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register B status (KE[6:0] = Key number),
KP[7]= 0: released, 1: pressed (cleared on read)
Key Event Register B status (KE[6:0] = Key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register B status (KE[6:0] = Key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Key Event Register B status (KE[6:0] = Key number),
KP[7] = 0: released, 1: pressed (cleared on read)
Bit
5
4
3
2
1
0
Bit
[6]
[5:4]
[3:0]
Description
Comparator interrupt status. When set, write 1 to clear.
1: Comparator 2 interrupt is detected.
0: Comparator 2 interrupt is not detected.
Comparator interrupt status. When set, write 1 to clear.
1: Comparator 1 interrupt is detected.
0: Comparator 1 interrupt is not detected.
Overflow interrupt status. When set, write 1 to clear.
1: Overflow interrupt is detected.
0: Overflow interrupt is not detected.
Keylock interrupt status. When set, write 1 to clear.
1: Keylock interrupt is detected.
0: Keylock interrupt is not detected.
GPI interrupt status. When set, write 1 to clear.
1: GPI interrupt is detected.
0: GPI interrupt is not detected.
Key events interrupt status. When set, write 1 to clear.
1: Key events interrupt is detected.
0: Key events interrupt is not detected.
Description
0: Lock feature is disabled.
1: Lock feature is enabled.
Keypad lock status[1:0] (00 = unlocked; 11 = locked; read only bits).
Key event count of key event register.
Rev. B | Page 17 of 28
Bit 7
KA7
KB7
KC7
KD7
KE7
KF7
KG7
KH7
Bit 6
KA6
KB6
KC6
KD6
KE6
KF6
KG6
KH6
Bit 5
KA5
KB5
KC5
KD5
KE5
KF5
KG5
KH5
Bit 4
KA4
KB4
KC4
KD4
KE4
KF4
KG4
KH4
Bit 3
KA3
KB3
KC3
KD3
KE3
KF3
KG3
KH3
1
Bit 2
KA2
KB2
KC2
KD2
KE2
KF2
KG2
KH2
ADP5588
Bit 1
KA1
KB1
KC1
Kd1
KE1
KF1
KG1
KH1
Bit 0
KA0
KB0
KC0
KD0
KE0
KF0
KG0
KH0

Related parts for ADP5588-EVALZ