14 void setup()
override;
void set_max_current_a(float max_current_a)
void dump_config() override
This class simplifies creating components that periodically check a state.
void set_shunt_resistance_ohm(float shunt_resistance_ohm)
uint32_t calibration_lsb_
void set_max_voltage_v(float max_voltage_v)
sensor::Sensor * current_sensor_
float get_setup_priority() const override
void set_current_sensor(sensor::Sensor *current_sensor)
sensor::Sensor * bus_voltage_sensor_
sensor::Sensor * power_sensor_
void set_bus_voltage_sensor(sensor::Sensor *bus_voltage_sensor)
void set_power_sensor(sensor::Sensor *power_sensor)
Implementation of SPI Controller mode.
void set_shunt_voltage_sensor(sensor::Sensor *shunt_voltage_sensor)
float shunt_resistance_ohm_
Base-class for all sensors.
sensor::Sensor * shunt_voltage_sensor_
This Class provides the methods to read/write bytes from/to an i2c device.