TSL2571
LIGHT-TO-DIGITAL CONVERTER
TAOS117A − FEBRUARY 2011
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
TIME (WLONG = 0)
WTIME
7:0
REGISTER VALUE
WAIT TIME
TIME (WLONG = 1)
0.032 sec
0xFF
0xB6
0x00
1
2.72 ms
201 ms
696 ms
74
2.4 sec
256
8.3 sec
NOTE: The Wait Time Register should be configured before AEN is asserted.
ALS Interrupt Threshold Registers (0x04 − 0x07)
The ALS interrupt threshold registers provides the values to be used as the high and low trigger points for the
comparison function for interrupt generation. If C0DATA crosses below the low threshold specified, or above
the higher threshold, an interrupt is asserted on the interrupt pin.
Table 6. ALS Interrupt Threshold Registers
REGISTER
AILTL
ADDRESS
0x04
BITS
7:0
DESCRIPTION
ALS low threshold lower byte
ALS low threshold upper byte
ALS high threshold lower byte
ALS high threshold upper byte
AILTH
0x05
7:0
AIHTL
0x06
7:0
AIHTH
0x07
7:0
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
www.taosinc.com
15