Datasheet
ADP5588 Data Sheet
Rev. C | Page 16 of 28
Address Register Name Description
0x2E GPIO_PULL3 GPIO pull disable
0x2F Not used Not used
0x30 CMP_CFG_STAT Comparator configuration and status register
0x31 CMP_CONFG_SENS1 Sensor 1 comparator configuration register
0x32
CMP_CONFG_SENS2
Sensor 2 comparator configuration register
0x33 CMP1_LVL2_TRIP L2 light sensor reference level (output falling for Sensor 1)
0x34 CMP1_LVL2_HYS L2 light sensor hysteresis (active when output rising) for Sensor 1
0x35 CMP1_LVL3_TRIP L3 light sensor reference level (output falling for Sensor 1)
0x36 CMP1_LVL3_HYS L3 light sensor hysteresis (active when output rising) for Sensor 1
0x37 CMP2_LVL2_TRIP L2 light sensor reference level (output falling for Sensor 2)
0x38 CMP2_LVL2_HYS L2 light sensor hysteresis (active when output rising) for Sensor 2
0x39 CMP2_LVL3_TRIP L3 light sensor reference level (output falling for Sensor 2)
0x3A CMP2_LVL3_HYS L3 light sensor hysteresis (active when output rising) for Sensor 2
0x3B CMP1_ADC_DAT_R1 Comparator 1 ADC Data Register 1
0x3C CMP1_ADC_DAT_R2 Comparator 1 ADC Data Register 2
0x3D CMP2_ADC_DAT_R1 Comparator 2 ADC Data Register 1
0x3E CMP2_ADC_DAT_R2 Comparator 2 ADC Data Register 2
REGISTER DESCRIPTIONS
Table 18. DEV_ID—Register 0x00 (Device ID)
Register Name Register Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DEV_ID Device ID[3:0], MFG ID[7:4] MFID3 MFID2 MFID1 MFID0 DID3 DID2 DID1 DID0
Table 19. CFG—Register 0x01 (Configuration Register 1)
Field Bit Description
AUTO_INC
7
I
2
C autoincrement. Burst read is supported; burst write is not supported.
1: I
2
C autoincrement is on.
0: I
2
C autoincrement is off.
GPIEM_CFG 6 GPI event mode configuration.
1: GPI events are not tracked when the keypad is locked.
0: GPI events are tracked when the keypad is locked.
OVR_FLOW_M 5 Overflow mode.
1: Overflow mode is on; register overflow data shifts in, starting at the last event and losing first event data.
0: Overflow mode is off; register overflow data is lost.
INT_CFG 4 Interrupt configuration.
1: Processor interrupt deasserts for 50 μs and reasserts with pending key events.
0: Processor interrupt remains asserted when host tries to clear interrupt while there is a pending key event.
OVR_FLOW_IEN 3 Overflow interrupt enable.
1: Overflow interrupt is enabled.
0: Overflow interrupt is disabled.
K_LCK_IM 2 Keypad lock interrupt mask.
1: Keypad lock interrupt is enabled.
0: Keypad lock interrupt is disabled.
GPI_IEN 1 GPI interrupt enable.
1: GPI interrupt is enabled.
0: GPI interrupt is disabled.
KE_IEN 0 Key events interrupt enable.
1: Key events interrupt is enabled.
0: Key events interrupt is disabled.