English
Language : 

TMD37821 Datasheet, PDF (19/34 Pages) TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS – Color Light-To-Digital Converter with Proximity Sensing
Enable Register (0 x 00)
Figure TMD3782 – 27:
Enable Register.
7
6
5
Reserved
PIEN
The ENABLE register is used primarily to power the device on
and off, and enable functions and interrupts.
4
3
2
1
0
AIEN
WEN
PEN
AEN
PON
Field
Reserved
PIEN
AIEN
WEN (Note 1,2)
PEN (Note 1,2)
AEN (Note 1,2)
PON
Bits
7:6
5
4
3
2
1
0
Description (Reset value = 0x00)
Reserved. Write as 0.
Proximity Interrupt Enable. When asserted permits proximity interrupts to be
generated, subject to the persist filter.
Ambient Light Sensing (ALS) Interrupt Enable. When asserted permits ALS
interrupts to be generated, subject to the persist filter.
Wait Enable. This bit activates the wait feature. Writing a 1 activates the wait
timer. Writing a 0 disables the wait timer.
Proximity enable. This bit activates the proximity function. Writing a 1
enables proximity. Writing a 0 disables proximity.
ADC enable. This bit activates the four-channel (RGBC) ADC. Writing a 1
enables the ADC. Writing a 0 disables the ADC.
Power ON. This bit activates the internal oscillator to permit the timers and
ADC channels to operate. Writing a 1 activates the oscillator. Writing a 0
disables the oscillator. During reads and writes over the I2C interface, this bit
is temporarily overridden and the oscillator is enabled, independent of the
state of PON.
Notes:
1. The PON bit must also be set=1 for these functions to operate.
2. WEN=1, PEN=1, AEN=0 is unsupported and will lead to erroneous proximity readings.
Datasheet - Mar. 2013 - V2
TMD3782 – 19