English
Language : 

TSL2671 Datasheet, PDF (17/27 Pages) ams AG – DIGITAL PROXIMITY DETECTOR
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
lid 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×
a longer. WTIME is programmed as a 2’s complement number.
ill v FIELD
G st WTIME
BITS
7:0
Table 5. Wait Time Register
REGISTER VALUE
0xFF
0xB6
0x00
DESCRIPTION
WAIT TIME
TIME (WLONG = 0)
1
2.72 ms
74
201 ms
256
696 ms
TIME (WLONG = 1)
0.032 sec
2.4 sec
8.3 sec
A t NOTE: The Wait Time register should be configured before PEN is asserted.
s n Proximity Interrupt Threshold Registers (0x08 − 0x0B)
e The proximity interrupt threshold registers provide the values to be used as the high and low trigger points for
m t 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.
a on REGISTER
c PILTL
l PILTH
PIHTL
Technica PIHTH
ADDRESS
0x08
0x09
0x0A
0x0B
Table 6. Proximity Interrupt Threshold Registers
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
The LUMENOLOGY r Company
r