ESPHome 2025.5.0
Loading...
Searching...
No Matches
tsl2591.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::tsl2591::TSL2591Component
 This class includes support for the TSL2591 i2c ambient light sensor. More...
 

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::tsl2591
 

Enumerations

enum  esphome::tsl2591::TSL2591IntegrationTime {
  esphome::tsl2591::TSL2591_INTEGRATION_TIME_100MS = 0b000 , esphome::tsl2591::TSL2591_INTEGRATION_TIME_200MS = 0b001 , esphome::tsl2591::TSL2591_INTEGRATION_TIME_300MS = 0b010 , esphome::tsl2591::TSL2591_INTEGRATION_TIME_400MS = 0b011 ,
  esphome::tsl2591::TSL2591_INTEGRATION_TIME_500MS = 0b100 , esphome::tsl2591::TSL2591_INTEGRATION_TIME_600MS = 0b101
}
 Enum listing all conversion/integration time settings for the TSL2591. More...
 
enum  esphome::tsl2591::TSL2591ComponentGain {
  esphome::tsl2591::TSL2591_CGAIN_LOW , esphome::tsl2591::TSL2591_CGAIN_MED , esphome::tsl2591::TSL2591_CGAIN_HIGH , esphome::tsl2591::TSL2591_CGAIN_MAX ,
  esphome::tsl2591::TSL2591_CGAIN_AUTO
}
 Enum listing all gain settings for the TSL2591 component. More...
 
enum  esphome::tsl2591::TSL2591Gain { esphome::tsl2591::TSL2591_GAIN_LOW = 0b00 << 4 , esphome::tsl2591::TSL2591_GAIN_MED = 0b01 << 4 , esphome::tsl2591::TSL2591_GAIN_HIGH = 0b10 << 4 , esphome::tsl2591::TSL2591_GAIN_MAX = 0b11 << 4 }
 Enum listing all gain settings for the TSL2591. More...
 
enum  esphome::tsl2591::TSL2591SensorChannel { esphome::tsl2591::TSL2591_SENSOR_CHANNEL_VISIBLE , esphome::tsl2591::TSL2591_SENSOR_CHANNEL_INFRARED , esphome::tsl2591::TSL2591_SENSOR_CHANNEL_FULL_SPECTRUM }
 Enum listing sensor channels. More...