TSL2571
LIGHT-TO-DIGITAL CONVERTER
TAOS117A − FEBRUARY 2011
Command Register
The command registers specifies the address of the target register for future write and read operations.
Table 2. Command Register
7
6
5
4
3
2
ADD
1
0
COMMAND
− −
COMMAND
TYPE
FIELD
COMMAND
TYPE
BITS
7
DESCRIPTION
Select Command Register. Must write as 1 when addressing COMMAND register.
Selects type of transaction to follow in subsequent data transfers:
6:5
FIELD VALUE
DESCRIPTION
00
01
10
11
Repeated byte protocol transaction
Auto-increment protocol transaction
Reserved — Do not use
Special function — See description below
Transaction type 00 will repeatedly read the same register with each data access.
Transaction type 01 will provide an auto-increment function to read successive register bytes.
ADD
4:0
Address register/special function field. Depending on the transaction type, see above, this field either
specifies a special function command or selects the specific control-status-register for following write and
read transactions. The field values listed below apply only to special function commands:
FIELD VALUE
00000
DESCRIPTION
Normal — no action
ALS interrupt clear
00110
other
Reserved — do not write
ALS interrupt clear — clears any pending ALS interrupt. This special function is self clearing.
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
r
r
www.taosinc.com
13