|
ESPHome 2026.11.0-dev
|
Data Structures | |
| class | AS734XComponent |
| struct | ChannelContribution |
| struct | ChannelTristimulus |
| struct | ChipInfo |
| Per-chip constants, stored in flash. The pointed-to tables are in flash too. More... | |
| struct | RegValue |
Enumerations | |
| enum | Gain : uint8_t { GAIN_0_5X , GAIN_1X , GAIN_2X , GAIN_4X , GAIN_8X , GAIN_16X , GAIN_32X , GAIN_64X , GAIN_128X , GAIN_256X , GAIN_512X , GAIN_1024X , GAIN_2048X } |
| enum class | Normalization : uint8_t { NORMALIZATION_NONE , NORMALIZATION_ALL , NORMALIZATION_BANDS , NORMALIZATION_CLEAR } |
Functions | |
| ESPHOME_LOG_TAG (TAG, "as734x") | |
| PROGMEM_STRING_TABLE (BandNames, "F1", "F2", "FZ", "F3", "F4", "FY", "F5", "FXL", "F6", "F7", "F8", "NIR", "Clear") | |
| float | tristimulus_to_cct (float x, float y, float z) |
| void | tristimulus_to_rgb (float x, float y, float z, uint8_t &r, uint8_t &g, uint8_t &b) |
Variables | |
| const ChipInfo | AS7341_CHIP |
| const ChipInfo | AS7343_CHIP |
| const ChipInfo | TCS3448_CHIP |
| constexpr float | MIN_TRISTIMULUS_SUM = 0.001f |
| enum esphome::as734x::Gain : uint8_t |
|
strong |
| esphome::as734x::ESPHOME_LOG_TAG | ( | TAG | , |
| "as734x" | ) |
| esphome::as734x::PROGMEM_STRING_TABLE | ( | BandNames | , |
| "F1" | , | ||
| "F2" | , | ||
| "FZ" | , | ||
| "F3" | , | ||
| "F4" | , | ||
| "FY" | , | ||
| "F5" | , | ||
| "FXL" | , | ||
| "F6" | , | ||
| "F7" | , | ||
| "F8" | , | ||
| "NIR" | , | ||
| "Clear" | ) |
| float esphome::as734x::tristimulus_to_cct | ( | float | x, |
| float | y, | ||
| float | z ) |
Definition at line 28 of file color_helpers.cpp.
| void esphome::as734x::tristimulus_to_rgb | ( | float | x, |
| float | y, | ||
| float | z, | ||
| uint8_t & | r, | ||
| uint8_t & | g, | ||
| uint8_t & | b ) |
Definition at line 52 of file color_helpers.cpp.
|
extern |
|
extern |
|
constexpr |
Definition at line 9 of file color_helpers.h.
|
extern |