English
Language : 

TMD27721 Datasheet, PDF (18/35 Pages) TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS – DIGITAL ALS and PROXIMITY MODULE
TMD2772
DIGITAL ALS
and PROXIMITY MODULE
TAOS147E− DECEMBER 2012
Register Set
The device 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 3. 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 0x11
m t 0x12
0x13
a n 0x14
0x15
o 0x16
c 0x17
0x18
l 0x19
0x1E
RESISTER NAME
COMMAND
ENABLE
ATIME
PTIME
WTIME
AILTL
AILTH
AIHTL
AIHTH
PILTL
PILTH
PIHTL
PIHTH
PERS
CONFIG
PPULSE
CONTROL
REVISION
ID
STATUS
C0DATA
C0DATAH
C1DATA
C1DATAH
PDATAL
PDATAH
POFFSET
R/W
REGISTER FUNCTION
W Specifies register address
R/W Enables states and interrupts
R/W ALS time
R/W Proximity time
R/W Wait time
R/W ALS interrupt low threshold low byte
R/W ALS interrupt low threshold high byte
R/W ALS interrupt high threshold low byte
R/W ALS 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 Control register
R Die revision number
R Device ID
R Device status
R CH0 ADC low data register
R CH0 ADC high data register
R CH1 ADC low data register
R CH1 ADC high data register
R Proximity ADC low data register
R Proximity ADC high data register
R/W Proximity offset register
RESET VALUE
0x00
0x00
0xFF
0xFF
0xFF
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
Rev Num.
ID
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
ica 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
Techn control/status register for following read/write operations.
The LUMENOLOGY r Company
r
r
www.taosinc.com
Copyright E 2012, TAOS Inc.
17