Datasheet

ADP5520
Rev. A | Page 19 of 40
The LED current sinks have additional timers to facilitate
blinking functions. A shared on timer (LED_ONT) used in
conjunction with three off timers (LED1_OFFT, LED2_OFFT,
and LED3_OFFT) allow the LED current sinks to be configured
in various blinking modes. The on timer can be set to four
different settings: 0.2 sec, 0.6 sec, 0.8 sec, and 1.2 sec. The off
timers have four different settings: disabled, 0.6 sec, 0.8 sec, and
1.2 sec. Blink mode is activated by setting the off timers to any
setting other than disabled.
INTERRUPT OUTPUT (nINT)
The ADP5520 can generate interrupts to an external processor
via its interrupt output, nINT. nINT is an active low open-drain
pin that should be pulled up to VDDIO. nINT can be asserted
by one of several internal blocks, as shown in Figure 47.
nINT
07445-036
OR
VDDIO
GPIO INTERRUPTS
KEY PRESS INTERRUPTS
KEY RELEASE INTERRUPTS
ALS COMPARATOR INTERRUPTS
OVERVOLTAGE INTERRUPT
All fade, on, and off timers should be programmed before
enabling any of the LED current sinks. If LEDx is on during a
blink cycle and LEDx_EN is cleared, it turns off (or fades to off
if fade-out is enabled). If LEDx is off during a blink cycle and
LEDx_EN is cleared, then it stays off.
Figure 47. nINT Pin Drive
RESET INPUT (nRST)
07445-035
MAX
LEDx_EN = 1
LEDx
CURRENT
FADE-IN FADE-OUT FADE-IN FADE-OUT
ON TIME ON TIME
OFF
TIME
OFF
TIME
SET BY USER
The ADP5520 can be restored to a power-on reset state if the
nRST pin is held low. nRST contains a debounce circuit, so the
pin must be held low for greater than 75 µs (typical) before a
reset occurs.
Figure 46. LEDx Blink Mode with Fading