Internal addresses, registers, constants for the TSL4531x sensor. More...
Internal addresses, registers, constants for the TSL4531x sensor.
Internal addresses, registers, constants for the TSL4531x sensor.
Derived from the internals.h file for the tsl2561 driver.
Definition in file tsl4531x_internals.h.
Go to the source code of this file.
TSL4531x internal registers | |
#define | TSL4531X_CONTROL_REG (0x0) |
sets power mode | |
#define | TSL4531X_CONFIGURATION_REG (0x01) |
sets power mode | |
#define | TSL4531X_ALSDATA1_REG (0x04) |
contains DATALOW | |
#define | TSL4531X_ALSDATA2_REG (0x05) |
contains DATAHIGH | |
#define | TSL4531X_ID_REG (0x0A) |
contains part no above | |
TSL4531x power modes | |
#define | TSL4531X_MODE_POWER_DOWN (0x00) |
#define | TSL4531X_MODE_RESERVED (0x01) |
#define | TSL4531X_MODE_SINGLE_ADC_CYCLE (0x02) |
Runs a single ADC cycle then returns to power down. | |
#define | TSL4531X_MODE_NORMAL (0x03) |
#define | TSL4531X_PSAVESKIP_OFF (0) |
#define | TSL4531X_PSAVESKIP_ON (1) |