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

Go to the source code of this file.

Data Structures

union  esphome::veml7700::ConfigurationRegister
 
union  esphome::veml7700::PSMRegister
 
class  esphome::veml7700::VEML7700Component
 
struct  esphome::veml7700::VEML7700Component::Readings
 

Namespaces

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

Enumerations

enum class  esphome::veml7700::CommandRegisters : uint8_t {
  esphome::veml7700::ALS_CONF_0 = 0x00 , esphome::veml7700::ALS_WH = 0x01 , esphome::veml7700::ALS_WL = 0x02 , esphome::veml7700::PWR_SAVING = 0x03 ,
  esphome::veml7700::ALS = 0x04 , esphome::veml7700::WHITE = 0x05 , esphome::veml7700::ALS_INT = 0x06
}
 
enum  esphome::veml7700::Gain : uint16_t { esphome::veml7700::X_1 = 0 , esphome::veml7700::X_2 = 1 , esphome::veml7700::X_1_8 = 2 , esphome::veml7700::X_1_4 = 3 }
 
enum  esphome::veml7700::IntegrationTime : uint16_t {
  esphome::veml7700::INTEGRATION_TIME_25MS = 0b1100 , esphome::veml7700::INTEGRATION_TIME_50MS = 0b1000 , esphome::veml7700::INTEGRATION_TIME_100MS = 0b0000 , esphome::veml7700::INTEGRATION_TIME_200MS = 0b0001 ,
  esphome::veml7700::INTEGRATION_TIME_400MS = 0b0010 , esphome::veml7700::INTEGRATION_TIME_800MS = 0b0011
}
 
enum  esphome::veml7700::Persistence : uint16_t { esphome::veml7700::PERSISTENCE_1 = 0 , esphome::veml7700::PERSISTENCE_2 = 1 , esphome::veml7700::PERSISTENCE_4 = 2 , esphome::veml7700::PERSISTENCE_8 = 3 }
 
enum  esphome::veml7700::PSMMode : uint16_t { esphome::veml7700::PSM_MODE_1 = 0 , esphome::veml7700::PSM_MODE_2 = 1 , esphome::veml7700::PSM_MODE_3 = 2 , esphome::veml7700::PSM_MODE_4 = 3 }
 

Variables

const uint8_t esphome::veml7700::GAINS_COUNT = 4
 
const uint8_t esphome::veml7700::INTEGRATION_TIMES_COUNT = 6
 
bool ALS_SD
 
bool ALS_INT_EN
 
bool reserved_2
 
bool reserved_3
 
Persistence ALS_PERS
 
IntegrationTime ALS_IT
 
bool reserved_10
 
Gain ALS_GAIN
 
bool reserved_13
 
bool reserved_14
 
bool reserved_15
 
bool PSM_EN
 
PSMMode PSM
 
uint16_t reserved
 

Variable Documentation

◆ ALS_GAIN

Gain ALS_GAIN

Definition at line 9 of file veml7700.h.

◆ ALS_INT_EN

bool ALS_INT_EN

Definition at line 2 of file veml7700.h.

◆ ALS_IT

IntegrationTime ALS_IT

Definition at line 7 of file veml7700.h.

◆ ALS_PERS

Persistence ALS_PERS

Definition at line 6 of file veml7700.h.

◆ ALS_SD

bool ALS_SD

Definition at line 0 of file veml7700.h.

◆ PSM

PSMMode PSM

Definition at line 1 of file veml7700.h.

◆ PSM_EN

bool PSM_EN

Definition at line 0 of file veml7700.h.

◆ reserved

uint16_t reserved

Definition at line 2 of file veml7700.h.

◆ reserved_10

bool reserved_10

Definition at line 8 of file veml7700.h.

◆ reserved_13

bool reserved_13

Definition at line 10 of file veml7700.h.

◆ reserved_14

bool reserved_14

Definition at line 11 of file veml7700.h.

◆ reserved_15

bool reserved_15

Definition at line 12 of file veml7700.h.

◆ reserved_2

bool reserved_2

Definition at line 4 of file veml7700.h.

◆ reserved_3

bool reserved_3

Definition at line 5 of file veml7700.h.