Datasheet

Datasheet - Apr. 2013 - ams163.5 TSL2591 – 13
The CONTROL register is used to configure the ALS gain and
integration time. In addition, a system reset is provided. Upon
power up, the CONTROL register resets to 0x00.
76543210
SRESET Reserved AGAIN Reserved ATIME
Fields Bits Description
SRESET 7
System reset. When asserted, the device will reset equivalent to a
power-on reset. SRESET is self-clearing.
Reserved 6 Reserved. Write as 0.
AGAIN 5:4
ALS gain sets the gain of the internal integration amplifiers for both
photodiode channels.
FIELD VALUE DESCRIPTION
00 Low gain mode
01 Medium gain mode
10 High gain mode
11 Maximum gain mode
Reserved 3 Reserved. Write as 0.
ATIM E 2:0
ALS time sets the internal ADC integration time for both
photodiode channels.
FIELD VALUE INTEGRATION TIME MAX COUNT
000 100 ms 37888
001 200 ms 65535
010 300 ms 65535
011 400 ms 65535
100 500 ms 65535
101 600 ms 65535
Control Register (0x01)