ESPHome  2024.11.3
Public Member Functions | Data Fields
esphome::ina3221::INA3221Component::INA3221Channel Struct Reference

#include <ina3221.h>

Public Member Functions

bool exists ()
 
bool should_measure_shunt_voltage ()
 
bool should_measure_bus_voltage ()
 

Data Fields

float shunt_resistance_ {0.1f}
 
sensor::Sensorbus_voltage_sensor_ {nullptr}
 
sensor::Sensorshunt_voltage_sensor_ {nullptr}
 
sensor::Sensorcurrent_sensor_ {nullptr}
 
sensor::Sensorpower_sensor_ {nullptr}
 

Detailed Description

Definition at line 26 of file ina3221.h.

Member Function Documentation

◆ exists()

bool esphome::ina3221::INA3221Component::INA3221Channel::exists ( )

Definition at line 122 of file ina3221.cpp.

◆ should_measure_bus_voltage()

bool esphome::ina3221::INA3221Component::INA3221Channel::should_measure_bus_voltage ( )

Definition at line 129 of file ina3221.cpp.

◆ should_measure_shunt_voltage()

bool esphome::ina3221::INA3221Component::INA3221Channel::should_measure_shunt_voltage ( )

Definition at line 126 of file ina3221.cpp.

Field Documentation

◆ bus_voltage_sensor_

sensor::Sensor* esphome::ina3221::INA3221Component::INA3221Channel::bus_voltage_sensor_ {nullptr}

Definition at line 28 of file ina3221.h.

◆ current_sensor_

sensor::Sensor* esphome::ina3221::INA3221Component::INA3221Channel::current_sensor_ {nullptr}

Definition at line 30 of file ina3221.h.

◆ power_sensor_

sensor::Sensor* esphome::ina3221::INA3221Component::INA3221Channel::power_sensor_ {nullptr}

Definition at line 31 of file ina3221.h.

◆ shunt_resistance_

float esphome::ina3221::INA3221Component::INA3221Channel::shunt_resistance_ {0.1f}

Definition at line 27 of file ina3221.h.

◆ shunt_voltage_sensor_

sensor::Sensor* esphome::ina3221::INA3221Component::INA3221Channel::shunt_voltage_sensor_ {nullptr}

Definition at line 29 of file ina3221.h.


The documentation for this struct was generated from the following files: