Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Extended public API for AMS's TSL2540 ambient light sensor. More...

Go to the source code of this file.

Enumerations

enum  sensor_attribute_tsl2540 {
  SENSOR_ATTR_INTEGRATION_TIME = SENSOR_ATTR_PRIV_START + 1 , SENSOR_ATTR_INT_APERS , SENSOR_ATTR_TSL2540_SHUTDOWN_MODE , SENSOR_ATTR_TSL2540_CONTINUOUS_MODE ,
  SENSOR_ATTR_TSL2540_CONTINUOUS_NO_WAIT_MODE
}
 Custom sensor attributes for TSL2540. More...
enum  sensor_gain_tsl2540 {
  TSL2540_SENSOR_GAIN_1_2 , TSL2540_SENSOR_GAIN_1 , TSL2540_SENSOR_GAIN_4 , TSL2540_SENSOR_GAIN_16 ,
  TSL2540_SENSOR_GAIN_64 , TSL2540_SENSOR_GAIN_128
}
 Gain values for the TSL2540 SENSOR_ATTR_GAIN attribute. More...

Detailed Description

Extended public API for AMS's TSL2540 ambient light sensor.

This exposes attributes for the TSL2540 which can be used for setting the on-chip gain and integration time parameters.