Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
 4.2.0-rc3
tsl2591.h File Reference

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

Go to the source code of this file.

Enumerations

enum  sensor_attribute_tsl2591 { SENSOR_ATTR_GAIN_MODE = SENSOR_ATTR_PRIV_START + 1 , SENSOR_ATTR_INTEGRATION_TIME , SENSOR_ATTR_INT_PERSIST }
enum  sensor_gain_tsl2591 { TSL2591_SENSOR_GAIN_LOW , TSL2591_SENSOR_GAIN_MED , TSL2591_SENSOR_GAIN_HIGH , TSL2591_SENSOR_GAIN_MAX }

Detailed Description

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

This exposes attributes for the TSL2591 which can be used for setting the on-chip gain, integration time, and persist filter parameters.

Enumeration Type Documentation

◆ sensor_attribute_tsl2591

Enumerator
SENSOR_ATTR_GAIN_MODE 
SENSOR_ATTR_INTEGRATION_TIME 
SENSOR_ATTR_INT_PERSIST 

◆ sensor_gain_tsl2591

Enumerator
TSL2591_SENSOR_GAIN_LOW 
TSL2591_SENSOR_GAIN_MED 
TSL2591_SENSOR_GAIN_HIGH 
TSL2591_SENSOR_GAIN_MAX