Datasheet
ADP5520
Rev. A | Page 22 of 40
DETAILED REGISTER DESCRIPTIONS
If one of the interrupt bits in Table 8 is cleared and there is a pending interrupt, nINT deasserts for 50 µs and reasserts, but the status of
the pending interrupt stays set.
Table 8. Register 0x00, Device Mode and Status (MODE_STATUS)
Bit Mnemonic R/W Description
7 nSTNBY R/W
0 = device is in standby mode. If 1.8 V ≤ VDDIO ≤ 3.3 V, then I
2
C, GPIO, and key scanning
functions are available.
1 = device is in operating mode. Additional functions, such as backlight driver, auxiliary
LED sinks, and ambient light sensor functions, can be enabled.
6 BL_EN R/W 0 = backlight driver is disabled.
1 = backlight driver is enabled.
5 DIM_EN 0 = dim mode is disabled.
1 = dim mode is enabled. Dim mode can be enabled in two ways. One is by manually
setting this bit, in which case the backlight stays at a dim level until this bit is manually
cleared. The second method is by setting the BL_DIMT timer, in which case an internal
state machine sets this bit when the timer expires.
4 OVP_INT R/W 0 = no overvoltage protection (OVP) condition.
1 = OVP condition detected. Once set, this bit can be cleared by writing a 1 to it.
3 CMPR_INT 0 = no ambient light sensor comparators have triggered.
1 = One of the ambient light sensor comparators has triggered. Once set, this bit can be
cleared by writing a 1 to it.
2 GPI_INT 0 = no GPIO input interrupt detected.
1 = GPIO input interrupt condition has occurred. To clear this interrupt bit, the GPIO
interrupt status (Register 0x1C) must be cleared first. Then this bit can be cleared by
writing a 1 to it.
1 KR_INT 0 = no key release interrupt present.
1 = key release detected. To clear this interrupt bit, Key Release Interrupt Status 1
(Register 0x22) and Key Release Interrupt Status 2 (Register 0x23) must be cleared first.
Then this bit can be cleared by writing a 1 to it.
0 KP_INT 0 = no key press interrupt present.
1 = key press detected. To clear this interrupt bit, Key Press Interrupt Status 1 (Register
0x20) and Key Press Interrupt Status 2 (Register 0x21) must be cleared first. Then this bit
can be cleared by writing a 1 to it.
Table 9. Register 0x01, Interrupt Enable (INTERRUPT_ENABLE)
Bit Mnemonic R/W Description
7 to 5 Unused.
4 AUTO_LD_EN R/W 0 = autoload disabled.
1 = autoload enabled. A 1 mA dummy load turns on when the backlight code is less than 8
(linear law) or less than Code 32 (square law).
3 CMPR_IEN R/W 0 = ambient light sensor comparators interrupt disabled.
1 = ambient light sensor comparators interrupt enabled.
2 OVP_IEN R/W 0 = OVP interrupt disabled.
1 = OVP interrupt enabled.
1 KR_IEN R/W 0 = key release interrupt disabled.
1 = key release interrupt enabled.
0 KP_IEN R/W 0 = key press interrupt disabled.
1 = key press interrupt enabled.