TSL2672
DIGITAL PROXIMITY DETECTOR
TAOS133 − MAY 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 0x02
0x03
0x08
a 0x09
v 0x0A
0x0B
ill 0x0C
0x0D
0x0E
t 0x0F
G s 0x12
0x13
A t 0x18
0x19
s n 0x1E
RESISTER NAME
COMMAND
ENABLE
PTIME
WTIME
PILTL
PILTH
PIHTL
PIHTH
PERS
CONFIG
PPULSE
CONTROL
ID
STATUS
PDATAL
PDATAH
POFFSET
R/W
REGISTER FUNCTION
W Specifies register address
R/W Enables states and interrupts
R/W Proximity ADC time
R/W Wait time
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 filter
R/W Configuration
R/W Proximity pulse count
R/W Control register
R Device ID
R Device status
R Proximity data low byte
R Proximity data high byte
R/W Proximity Offset register
RESET VALUE
0x00
0x00
0xFF
0xFF
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
ID
0x00
0x00
0x00
0x00
m te The mechanics of accessing a specific register depends on the specific protocol used. See the section on I2C
a n protocols on the previous pages. In general, the COMMAND register is written first to specify the specific
Technical co control-status-data register for subsequent read/write operations.
Copyright E 2012, TAOS Inc.
16
r
www.taosinc.com
The LUMENOLOGY r Company
r