Datasheet
ADP5520
Rev. A | Page 21 of 40
REGISTER MAP
All registers are 0 on reset. Unused bits are read as 0.
Table 7.
Register
Address
Register Name Register Description
0x00 MODE_STATUS
Sets device operating mode. Contains enables for backlight on/dim. Contains top-level interrupt
status bits.
0x01 INTERRUPT_ENABLE Contains enables for allowing interrupts to assert nINT.
0x02 BL_CONTROL Sets parameters relating to backlight control.
0x03 BL_TIME Contains backlight off and dim timers.
0x04 BL_FADE Contains backlight fade-in and fade-out timers.
0x05 DAYLIGHT_MAX Sets daylight (L1) maximum current.
0x06 DAYLIGHT_DIM Sets daylight (L1) dim current.
0x07 OFFICE_MAX Sets office (L2) maximum current.
0x08 OFFICE_DIM Sets office (L2) dim current.
0x09 DARK_MAX Sets dark (L3) maximum current.
0x0A DARK_DIM Sets dark (L3) dim current.
0x0B BL_VALUE Read-only register of what the backlight is presently set to.
0x0C ALS_CMPR_CFG Sets enables and filters for ambient light sensor comparators. Contains comparator output status bits.
0x0D L2_TRIP Sets the light sensor comparator (L2_CMPR) threshold point.
0x0E L2_HYS Sets the light sensor comparator (L2_CMPR hysteresis.
0x0F L3_TRIP Sets the light sensor comparator (L3_CMPR) threshold point.
0x10 L3_HYS Sets the light sensor comparator (L3_CMPR) hysteresis.
0x11 LED_CONTROL Contains enables and configuration for the three auxiliary LED current sinks.
0x12 LED_TIME Contains the on and off timers for the three auxiliary LED current sinks.
0x13 LED_FADE Contains the fade-in and fade-out timers for the three auxiliary LED current sinks.
0x14 LED1_CURRENT Sets the LED 1 (ILED) sink current.
0x15 LED2_CURRENT Sets the LED 2 (C3) sink current.
0x16 LED3_CURRENT Sets the LED 3 (R3) sink current.
0x17 GPIO_CFG_1 Configuration for I/O pins. (GPIOs or keypad matrix)
0x18 GPIO_CFG_2 Configuration for I/O pins. (GPIO direction, input or output)
0x19 GPIO_IN Read-only register. Reflects the logic state of GPIO inputs.
0x1A GPIO_OUT Sets GPIO output logic drive level.
0x1B GPIO_INT_EN GPIO input interrupt enable.
0x1C GPIO_INT_STAT GPIO input interrupt status.
0x1D GPIO_INT_LVL Configures the GPIO input interrupt level that causes an interrupt (active high or low).
0x1E GPIO_DEBOUNCE GPIO input debounce enable/disable.
0x1F GPIO_PULLUP GPIO pull-up enable/disable.
0x20 KP_INT_STAT_1 Read only register. Contains interrupt status information for key presses on Key A through Key H.
0x21 KP_INT_STAT_2 Read-only register. Contains interrupt status information for key presses on Key I through Key P.
0x22 KR_INT_STAT_1 Read-only register. Contains interrupt status information for key releases on Key A through Key H.
0x23 KR_INT_STAT_2 Read-only register. Contains interrupt status information for key releases on Key I through Key P.
0x24 KEY_STAT_1 Read-only register. Reflects the present state of Key A through Key H.
0x25 KEY_STAT_2 Read-only register. Reflects the present state of Key I through Key P.