
TSL2671
DIGITAL PROXIMITY DETECTOR
TAOS118 ? JANUARY 2011
Proximity Time Control Register (0x02)
The proximity timing register controls the integration time of the proximity ADC in 2.72 ms increments. It is
recommended that this register be programmed to a value of 0xFF (1 integration cycle).
Table 4. Proximity Time Control Register
FIELD
BITS
DESCRIPTION
PTIME
7:0
VALUE
0xFF
INTEG_CYCLES
1
TIME
2.72 ms
MAX COUNT
1023
Wait Time Register (0x03)
Wait time is set 2.72 ms increments unless the WLONG bit is asserted, in which case the wait times are 12 ×
longer. WTIME is programmed as a 2’s complement number.
Table 5. Wait Time Register
FIELD
BITS
DESCRIPTION
WTIME
7:0
REGISTER VALUE
0xFF
0xB6
0x00
WAIT TIME
1
74
256
TIME (WLONG = 0)
2.72 ms
201 ms
696 ms
TIME (WLONG = 1)
0.032 sec
2.4 sec
8.3 sec
NOTE: The Wait Time register should be configured before PEN is asserted.
Proximity Interrupt Threshold Registers (0x08 ? 0x0B)
The proximity interrupt threshold registers provide the values to be used as the high and low trigger points for
the comparison function for interrupt generation. If the value generated by proximity channel crosses below the
lower threshold specified, or above the higher threshold, an interrupt is signaled to the host processor.
Table 6. Proximity Interrupt Threshold Register s
REGISTER
PILTL
PILTH
PIHTL
PIHTH
ADDRESS
0x08
0x09
0x0A
0x0B
BITS
7:0
7:0
7:0
7:0
Proximity low threshold lower byte
Proximity low threshold upper byte
Proximity high threshold lower byte
Proximity high threshold upper byte
DESCRIPTION
Copyright E 2011, TAOS Inc.
16
r
www.taosinc.com
r
The LUMENOLOGY r Company