ESPHome 2025.5.0
Loading...
Searching...
No Matches
max9611.h
Go to the documentation of this file.
1#pragma once
2
6#include "esphome/core/hal.h"
7
8namespace esphome {
9namespace max9611 {
10
21
36
60
61} // namespace max9611
62} // namespace esphome
This class simplifies creating components that periodically check a state.
Definition component.h:301
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
void set_watt_sensor(sensor::Sensor *ws)
Definition max9611.h:45
void set_current_sensor(sensor::Sensor *cs)
Definition max9611.h:44
sensor::Sensor * current_sensor_
Definition max9611.h:53
sensor::Sensor * temperature_sensor_
Definition max9611.h:55
void set_temp_sensor(sensor::Sensor *ts)
Definition max9611.h:46
sensor::Sensor * watt_sensor_
Definition max9611.h:54
void set_voltage_sensor(sensor::Sensor *vs)
Definition max9611.h:43
float get_setup_priority() const override
Definition max9611.h:41
void set_gain(MAX9611Multiplexer g)
Definition max9611.h:49
sensor::Sensor * voltage_sensor_
Definition max9611.h:52
Base-class for all sensors.
Definition sensor.h:57
@ CONTROL_REGISTER_2_ADRR
Definition max9611.h:34
@ SET_DATA_BYTE_MSB_ADRR
Definition max9611.h:29
@ TEMP_DATA_BYTE_LSB_ADRR
Definition max9611.h:32
@ CONTROL_REGISTER_1_ADRR
Definition max9611.h:33
@ RS_DATA_BYTE_MSB_ADRR
Definition max9611.h:25
@ OUT_DATA_BYTE_MSB_ADRR
Definition max9611.h:27
@ CSA_DATA_BYTE_MSB_ADRR
Definition max9611.h:23
@ OUT_DATA_BYTE_LSB_ADRR
Definition max9611.h:28
@ RS_DATA_BYTE_LSB_ADRR
Definition max9611.h:26
@ CSA_DATA_BYTE_LSB_ADRR
Definition max9611.h:24
@ TEMP_DATA_BYTE_MSB_ADRR
Definition max9611.h:31
@ SET_DATA_BYTE_LSB_ADRR
Definition max9611.h:30
@ MAX9611_MULTIPLEXER_TEMP
Definition max9611.h:18
@ MAX9611_MULTIPLEXER_CSA_GAIN4
Definition max9611.h:13
@ MAX9611_MULTIPLEXER_SET
Definition max9611.h:17
@ MAX9611_MULTIPLEXER_OUT
Definition max9611.h:16
@ MAX9611_MULTIPLEXER_CSA_GAIN1
Definition max9611.h:12
@ MAX9611_MULTIPLEXER_FAST_MODE
Definition max9611.h:19
@ MAX9611_MULTIPLEXER_CSA_GAIN8
Definition max9611.h:14
@ MAX9611_MULTIPLEXER_RS
Definition max9611.h:15
const float DATA
For components that import data from directly connected sensors like DHT.
Definition component.cpp:19
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7