English
Language : 

TCS3771 Datasheet, PDF (25/33 Pages) ams AG – COLOR LIGHT-TO-DIGITAL CONVERTER with PROXIMITY SENSING
TCS3771
COLOR LIGHT-TO-DIGITAL CONVERTER
with PROXIMITY SENSING
TAOS110A − MARCH 2011
Status Register (0x13)
The Status Register provides the internal status of the device. This register is read only.
Table 14. Status Register
7
6
5
4
3
2
1
0
STATUS
FIELD
lid Reserved
PINT
AINT
a Reserved
PVALID
v AVALID
Reserved
PRIeNsTv
AINT
Reserved
PVALID
AVALID
BIT
DESCRIPTION
7:6
Reserved.
5
Proximity Interrupt.
4
RGBC clear channel Interrupt.
3:2
Reserved.
1
Proximity Valid. Indicates that a RGBC cycle has completed since AEN was asserted.
0
RGBC Valid. Indicates that the RGBC channels have completed an integration cycle.
Address
0x13
ill RGBC Channel Data Registers (0x14 − 0x1B)
t Clear, red, green, and blue data is stored as 16-bit values. To ensure the data is read correctly, a two-byte read
G I2C transaction should be used with a read word protocol bit set in the command register. With this operation,
s when the lower byte register is read, the upper eight bits are stored into a shadow register, which is read by a
subsequent read to the upper byte. The upper register will read the correct value even if additional ADC
A t integration cycles end between the reading of the lower and upper registers.
s en REGISTER
m t CDATA
CDATAH
a n RDATA
o RDATAH
GDATA
c GDATAH
BDATA
l BDATAH
Table 15. ADC Channel Data Registers
ADDRESS
0x14
0x15
0x16
0x17
0x18
0x19
0x1A
0x1B
BITS
7:0
7:0
7:0
7:0
7:0
7:0
7:0
7:0
DESCRIPTION
Clear data low byte
Clear data high byte
Red data low byte
Red data high byte
Green data low byte
Green data high byte
Blue data low byte
Blue data high byte
ica Proximity Data Registers (0x1C − 0x1D)
Proximity data is stored as a 16-bit value. To ensure the data is read correctly, a two-byte read I2C transaction
n should be used with a read word protocol bit 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 read
h 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.
ecREGISTER
T PDATA
Table 16. PDATA Registers
ADDRESS
0x1C
BITS
7:0
DESCRIPTION
Proximity data low byte
PDATAH
0x1D
7:0
Proximity data high byte
Copyright E 2011, TAOS Inc.
r
The LUMENOLOGY r Company
r
24
www.taosinc.com