English
Language : 

TSL2772 Datasheet, PDF (26/35 Pages) ams AG – LIGHT-TO-DIGITAL CONVERTER with PROXIMITY SENSING
TSL2772
LIGHT-TO-DIGITAL CONVERTER
with PROXIMITY SENSING
TAOS131 − DECEMBER 2011
Status Register (0x13)
The Status Register provides the internal status of the device. This register is read only.
Table 16. Status Register
7
6
5
4
3
2
1
0
STATUS
FIELD
lid Reserved
PSAT
PINT
a AINT
Reserved
v PVALID
ill AVALID
Reserved PSAT
PRIeNsTv
AINT
Reserved
PVALID
Reset
AVALID 0x00
BIT
DESCRIPTION
7
Reserved. Bit reads as 0.
6
Proximity Saturation. Indicates that the proximity measurement saturated.
5
Proximity Interrupt. Indicates that the device is asserting a proximity interrupt.
4
ALS Interrupt. Indicates that the device is asserting an ALS interrupt.
3:2
Reserved. Bits read as 0.
1
Proximity Valid. Indicates that the proximity channel has completed an integration cycle after PEN has been
asserted.
0
ALS Valid. Indicates that the ALS channels have completed an integration cycle after AEN has been
asserted.
G t ADC Channel Data Registers (0x14 − 0x17)
s ALS data is stored as two 16-bit values. To ensure the data is read correctly, a two-byte read I2C transaction
A t should be used with auto increment protocol bits set in the command register. With this operation, when the
lower byte register is read, the upper eight bits are stored in a shadow register, which is read by a subsequent
s n read to the upper byte. The upper register will read the correct value even if additional ADC integration cycles
end between the reading of the lower and upper registers.
am nte REGISTER
C0DATA
o C0DATAH
C1DATA
c C1DATAH
Table 17. ADC Channel Data Registers
ADDRESS
0x14
0x15
0x16
0x17
BITS
7:0
7:0
7:0
7:0
DESCRIPTION
ALS CH0 data low byte
ALS CH0 data high byte
ALS CH1 data low byte
ALS CH1 data high byte
al Proximity Data Registers (0x18 − 0x19)
ic Proximity data is stored as a 16-bit value. To ensure the data is read correctly, a two-byte read I2C transaction
should be utilized with auto increment protocol bits set in the command register. With this operation, when the
lower byte register is read, the upper eight bits are stored into a shadow register, which is read by a subsequent
n read to the upper byte. The upper register will read the correct value even if the next ADC cycle ends between
the reading of the lower and upper registers.
chREGISTER
e PDATAL
T PDATAH
Table 18. Proximity Data Registers
ADDRESS
0x18
0x19
BITS
7:0
7:0
DESCRIPTION
Proximity data low byte
Proximity data high byte
The LUMENOLOGY r Company
r
r
www.taosinc.com
Copyright E 2011, TAOS Inc.
25