User Manual
23
Conguration Register One (0x8D)
The CONFIG1 register sets the wait long time. The register is set to 0x40 at power up.
Field Bits Description
Reserved 7 Reserved. Write as 0.
Reserved 6 Reserved. Write as 1.
Reserved 5 Reserved. Write as 1.
Reserved 4 Reserved. Write as 0.
Reserved 3 Reserved. Write as 0.
Reserved 2 Reserved. Write as 0.
WLONG 1 Wait Long. When asserted, the wait cycle is increased by a factor 12x from that programmed in
the WTIME register.
Reserved 0 Reserved. Write as 0.
Notes:
1. Bit 6 is reserved, and is automatically set to 1 at POR.
2. Bit 5 is reserved, and is automatically set to 1 at POR. If this bit is not set, power consumption will increase during wait states.
Proximity Pulse Count Register (0x8E)
The Proximity Pulse Count Register sets Pulse Width Modied current during a Proximity Pulse. The proximity pulse
count register bits set the number of pulses to be output on the LDR pin. The Proximity Length register bits set the
amount of time the LDR pin is sinking current during a proximity pulse.
Field Bits Description
PPLEN 7:6 Proximity Pulse Length. Sets the LED-ON pulse width during a proximity LDR pulse.
FIELD VALUE PULSE LENGTH
0
4 ms
1
8 ms (default)
2
16 ms
3
32 ms
PPULSE 5:0 Proximity Pulse Count. Species the number of proximity pulses to be generated on LDR.
Number of pulses is set by PPULSE value plus 1.
FIELD VALUE NUMBER OF PULSES
0 1
1 2
2 3
… …
63 64
Notes:
1. The time described by PPLEN is the actual signal integration time. The LED will be activated slightly longer (typically 1.36 μs) than the integration
time.
2. The Proximity Pulse Count Register resets to 0x40