English
Language : 

TCS3771 Datasheet, PDF (17/33 Pages) ams AG – COLOR LIGHT-TO-DIGITAL CONVERTER with PROXIMITY SENSING
TCS3771
COLOR LIGHT-TO-DIGITAL CONVERTER
with PROXIMITY SENSING
TAOS110A − MARCH 2011
Register Set
The TCS3771 is controlled and monitored by data registers and a command register accessed through the
serial interface. These registers provide for a variety of control functions and can be read to determine results
of the ADC conversions. The register set is summarized in Table 1.
Table 1. Register Address
ADDRESS
−−
0x00
lid 0x01
0x02
0x03
a 0x04
v 0x05
0x06
ill 0x07
0x08
0x09
t 0x0A
G s 0x0B
0x0C
A t 0x0D
0x0E
s n 0x0F
e 0x12
m t 0x13
0x14
a n 0x15
0x16
o 0x17
c 0x18
0x19
l 0x1A
0x1B
a 0x1C
ic 0x1D
RESISTER NAME
COMMAND
ENABLE
ATIME
PTIME
WTIME
AILTL
AILTH
AIHTL
AIHTH
PILTL
PILTH
PIHTL
PIHTH
PERS
CONFIG
PPCOUNT
CONTROL
ID
STATUS
CDATA
CDATAH
RDATA
RDATAH
GDATA
GDATAH
BDATA
BDATAH
PDATA
PDATAH
R/W
REGISTER FUNCTION
W Specifies register address
R/W Enables states and interrupts
R/W RGBC ADC time
R/W Proximity ADC time
R/W Wait time
R/W RGBC interrupt low threshold low byte
R/W RGBC interrupt low threshold high byte
R/W RGBC interrupt high threshold low byte
R/W RGBC interrupt high threshold high byte
R/W Proximity interrupt low threshold low byte
R/W Proximity interrupt low threshold high byte
R/W Proximity interrupt high threshold low byte
R/W Proximity interrupt high threshold high byte
R/W Interrupt persistence filters
R/W Configuration
R/W Proximity pulse count
R/W Gain control register
R Device ID
R Device status
R Clear ADC low data register
R Clear ADC high data register
R Red ADC low data register
R Red ADC high data register
R Green ADC low data register
R Green ADC high data register
R Blue ADC low data register
R Blue ADC high data register
R Proximity ADC low data register
R Proximity ADC high data register
RESET VALUE
0x00
0x00
0xFF
0xFF
0xFF
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
ID
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
n The mechanics of accessing a specific register depends on the specific protocol used. See the section on I2C
protocols on the previous pages. In general, the COMMAND register is written first to specify the specific
Tech control/status register for following read/write operations.
Copyright E 2011, TAOS Inc.
16
r
www.taosinc.com
The LUMENOLOGY r Company
r