ESPHome
2024.11.2
|
Data Structures | |
union | ConfigurationRegister |
union | PSMRegister |
class | VEML7700Component |
Enumerations | |
enum | CommandRegisters : uint8_t { CommandRegisters::ALS_CONF_0 = 0x00, CommandRegisters::ALS_WH = 0x01, CommandRegisters::ALS_WL = 0x02, CommandRegisters::PWR_SAVING = 0x03, CommandRegisters::ALS = 0x04, CommandRegisters::WHITE = 0x05, CommandRegisters::ALS_INT = 0x06 } |
enum | Gain : uint16_t { X_1 = 0, X_2 = 1, X_1_8 = 2, X_1_4 = 3 } |
enum | IntegrationTime : uint16_t { INTEGRATION_TIME_25MS = 0b1100, INTEGRATION_TIME_50MS = 0b1000, INTEGRATION_TIME_100MS = 0b0000, INTEGRATION_TIME_200MS = 0b0001, INTEGRATION_TIME_400MS = 0b0010, INTEGRATION_TIME_800MS = 0b0011 } |
enum | Persistence : uint16_t { PERSISTENCE_1 = 0, PERSISTENCE_2 = 1, PERSISTENCE_4 = 2, PERSISTENCE_8 = 3 } |
enum | PSMMode : uint16_t { PSM_MODE_1 = 0, PSM_MODE_2 = 1, PSM_MODE_3 = 2, PSM_MODE_4 = 3 } |
Functions | |
template<typename T , size_t size> | |
T | get_next (const T(&array)[size], const T val) |
template<typename T , size_t size> | |
T | get_prev (const T(&array)[size], const T val) |
Variables | |
const uint8_t | GAINS_COUNT = 4 |
const uint8_t | INTEGRATION_TIMES_COUNT = 6 |
|
strong |
Enumerator | |
---|---|
ALS_CONF_0 | |
ALS_WH | |
ALS_WL | |
PWR_SAVING | |
ALS | |
WHITE | |
ALS_INT |
Definition at line 17 of file veml7700.h.
enum esphome::veml7700::Gain : uint16_t |
Enumerator | |
---|---|
X_1 | |
X_2 | |
X_1_8 | |
X_1_4 |
Definition at line 27 of file veml7700.h.
enum esphome::veml7700::IntegrationTime : uint16_t |
Enumerator | |
---|---|
INTEGRATION_TIME_25MS | |
INTEGRATION_TIME_50MS | |
INTEGRATION_TIME_100MS | |
INTEGRATION_TIME_200MS | |
INTEGRATION_TIME_400MS | |
INTEGRATION_TIME_800MS |
Definition at line 35 of file veml7700.h.
enum esphome::veml7700::Persistence : uint16_t |
Enumerator | |
---|---|
PERSISTENCE_1 | |
PERSISTENCE_2 | |
PERSISTENCE_4 | |
PERSISTENCE_8 |
Definition at line 45 of file veml7700.h.
enum esphome::veml7700::PSMMode : uint16_t |
Enumerator | |
---|---|
PSM_MODE_1 | |
PSM_MODE_2 | |
PSM_MODE_3 | |
PSM_MODE_4 |
Definition at line 52 of file veml7700.h.
T esphome::veml7700::get_next | ( | const T(&) | array[size], |
const T | val | ||
) |
Definition at line 13 of file veml7700.cpp.
T esphome::veml7700::get_prev | ( | const T(&) | array[size], |
const T | val | ||
) |
Definition at line 28 of file veml7700.cpp.
const uint8_t esphome::veml7700::GAINS_COUNT = 4 |
Definition at line 33 of file veml7700.h.
const uint8_t esphome::veml7700::INTEGRATION_TIMES_COUNT = 6 |
Definition at line 43 of file veml7700.h.