ESPHome  2024.10.2
Data Structures | Namespaces | Enumerations | Variables
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

 esphome
 Implementation of SPI Controller mode.
 
 esphome::veml7700
 

Enumerations

enum  esphome::veml7700::CommandRegisters : uint8_t {
  esphome::veml7700::CommandRegisters::ALS_CONF_0 = 0x00, esphome::veml7700::CommandRegisters::ALS_WH = 0x01, esphome::veml7700::CommandRegisters::ALS_WL = 0x02, esphome::veml7700::CommandRegisters::PWR_SAVING = 0x03,
  esphome::veml7700::CommandRegisters::ALS = 0x04, esphome::veml7700::CommandRegisters::WHITE = 0x05, esphome::veml7700::CommandRegisters::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 79 of file veml7700.h.

◆ ALS_INT_EN

bool ALS_INT_EN

Definition at line 72 of file veml7700.h.

◆ ALS_IT

IntegrationTime ALS_IT

Definition at line 77 of file veml7700.h.

◆ ALS_PERS

Persistence ALS_PERS

Definition at line 76 of file veml7700.h.

◆ ALS_SD

bool ALS_SD

Definition at line 70 of file veml7700.h.

◆ PSM

PSMMode PSM

Definition at line 94 of file veml7700.h.

◆ PSM_EN

bool PSM_EN

Definition at line 93 of file veml7700.h.

◆ reserved

uint16_t reserved

Definition at line 95 of file veml7700.h.

◆ reserved_10

bool reserved_10

Definition at line 78 of file veml7700.h.

◆ reserved_13

bool reserved_13

Definition at line 80 of file veml7700.h.

◆ reserved_14

bool reserved_14

Definition at line 81 of file veml7700.h.

◆ reserved_15

bool reserved_15

Definition at line 82 of file veml7700.h.

◆ reserved_2

bool reserved_2

Definition at line 74 of file veml7700.h.

◆ reserved_3

bool reserved_3

Definition at line 75 of file veml7700.h.