ESPHome
2024.12.2
|
Data Structures | |
class | MAX9611Component |
Enumerations | |
enum | MAX9611Multiplexer { MAX9611_MULTIPLEXER_CSA_GAIN1 = 0b000, MAX9611_MULTIPLEXER_CSA_GAIN4 = 0b001, MAX9611_MULTIPLEXER_CSA_GAIN8 = 0b010, MAX9611_MULTIPLEXER_RS = 0b011, MAX9611_MULTIPLEXER_OUT = 0b100, MAX9611_MULTIPLEXER_SET = 0b101, MAX9611_MULTIPLEXER_TEMP = 0b110, MAX9611_MULTIPLEXER_FAST_MODE = 0b111 } |
enum | MAX9611RegisterMap { CSA_DATA_BYTE_MSB_ADRR = 0x00, CSA_DATA_BYTE_LSB_ADRR = 0x01, RS_DATA_BYTE_MSB_ADRR = 0x02, RS_DATA_BYTE_LSB_ADRR = 0x03, OUT_DATA_BYTE_MSB_ADRR = 0x04, OUT_DATA_BYTE_LSB_ADRR = 0x05, SET_DATA_BYTE_MSB_ADRR = 0x06, SET_DATA_BYTE_LSB_ADRR = 0x07, TEMP_DATA_BYTE_MSB_ADRR = 0x08, TEMP_DATA_BYTE_LSB_ADRR = 0x09, CONTROL_REGISTER_1_ADRR = 0x0A, CONTROL_REGISTER_2_ADRR = 0x0B } |
Functions | |
template<typename T , unsigned B> | |
T | signextend (const T x) |
float | gain_to_lsb (MAX9611Multiplexer gain) |
float esphome::max9611::gain_to_lsb | ( | MAX9611Multiplexer | gain | ) |
Definition at line 16 of file max9611.cpp.
|
inline |
Definition at line 9 of file max9611.cpp.