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
WTIME
BITS
7:0
REGISTER VALUE
0xFF
0xB6
0x00
DESCRIPTION
WAIT TIME
TIME (WLONG = 0)
1
2.72 ms
74
201 ms
256
696 ms
NOTE: The Wait Time Register should be configured before AEN is asserted.
TIME (WLONG = 1)
0.032 sec
2.4 sec
8.3 sec
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.
REGISTER
AILTL
AILTH
AIHTL
AIHTH
Table 6. ALS Interrupt Threshold Registers
ADDRESS
0x04
0x05
0x06
0x07
BITS
7:0
7:0
7:0
7:0
DESCRIPTION
ALS low threshold lower byte
ALS low threshold upper byte
ALS high threshold lower byte
ALS high threshold upper byte
The LUMENOLOGY r Company
r
r
www.taosinc.com
Copyright E 2011, TAOS Inc.
15