ESPHome 2025.9.0-dev
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
59
60} // namespace max9611
61} // namespace esphome
This class simplifies creating components that periodically check a state.
Definition component.h:425
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:44
void set_current_sensor(sensor::Sensor *cs)
Definition max9611.h:43
sensor::Sensor * current_sensor_
Definition max9611.h:52
sensor::Sensor * temperature_sensor_
Definition max9611.h:54
void set_temp_sensor(sensor::Sensor *ts)
Definition max9611.h:45
sensor::Sensor * watt_sensor_
Definition max9611.h:53
void set_voltage_sensor(sensor::Sensor *vs)
Definition max9611.h:42
void set_gain(MAX9611Multiplexer g)
Definition max9611.h:48
sensor::Sensor * voltage_sensor_
Definition max9611.h:51
Base-class for all sensors.
Definition sensor.h:59
@ 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
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7