User Manual
24
Control Register One (0x8F)
Field Bits Description
LDRIVE 7:6 LED Drive Strength.
FIELD VALUE LED CURRENT
0 100 mA
1 50 mA
2 25 mA
3 12.5 mA
Reserved 5 Reserved. Write as 0.
Reserved 4 Reserved. Write as 0.
PGAIN 3:2 Proximity Gain Control.
FIELD VALUE GAIN VALUE
0 1x
1 2x
2 4x
3 8x
AGAIN 1:0 ALS and Color Gain Control.
FIELD VALUE GAIN VALUE
0 1x
1 4x
2 16x
3 64x
Conguration Register Two (0x90)
The Conguration Register Two independently enables or disables the saturation interrupts for Proximity and Clear
channel. Saturation Interrupts are cleared by accessing the Clear Interrupt registers at 0xE5, 0xE6 and 0xE7. The LED_
BOOST bits allow the LDR pin to sink more current above the maximum setting by LDRIVE and GLDRIVE.
Field Bits Description
PSIEN 7 Proximity Saturation Interrupt Enable.
0 = Proximity saturation interrupt disabled
1 = Proximity saturation interrupt enabled
CPSIEN 6 Clear Photodiode Saturation Interrupt Enable.
0 = ALS Saturation Interrupt disabled
1 = ALS Saturation Interrupt enabled
LED_BOOST 5:4 Additional LDR current during proximity and gesture LED pulses. Current value, set by LDRIVE,
is increased by the percentage of LED_BOOST.
FIELD VALUE LED BOOST CURRENT
0 100%
1 150%
2 200%
3 300%
RESERVED 3:1 Reserved. Write as 0.
RESERVED 0 Reserved. Write as 1. Set high by default during POR.
Note: A LED_BOOST value of 0 results in 100% of the current as set by LDRIVE (no additional current).