English
Language : 

TMD27723 Datasheet, PDF (19/35 Pages) TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS – DIGITAL ALS and PROXIMITY MODULE
TMD2772
DIGITAL ALS
and PROXIMITY MODULE
TAOS147E − DECEMBER 2012
Command Register
The command registers specifies the address of the target register for future write and read operations.
Table 4. Command Register
7
6
5
4
3
2
1
0
COMMAND COMMAND
FIELD
lid COMMAND
TYPE
BITS
7
6:5
Technicaaml scoAnGtent still va ADD
4:0
TYPE
ADD
Reset
0x00
DESCRIPTION
Select Command Register. Must write as 1 when addressing COMMAND register.
Selects type of transaction to follow in subsequent data transfers:
FIELD VALUE
DESCRIPTION
00
Repeated byte protocol transaction
01
Auto-increment protocol transaction
10
Reserved — Do not use
11
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.
Address field/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
DESCRIPTION
00000
Normal — no action
00101
Proximity interrupt clear
00110
ALS interrupt clear
00111
Proximity and ALS interrupt clear
other
Reserved — Do not write
ALS/Proximity Interrupt Clear clears any pending ALS/Proximity interrupt. This special function is self
clearing.
Copyright E 2012, TAOS Inc.
18
r
www.taosinc.com
The LUMENOLOGY r Company
r