Zephyr API 3.6.99
|
Extended public API for AMS's TSL2540 ambient light sensor. More...
#include <zephyr/drivers/sensor.h>
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 } |
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 } |
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.
enum sensor_gain_tsl2540 |