ESPHome 2025.5.0
Loading...
Searching...
No Matches
ina226.h File Reference

Go to the source code of this file.

Data Structures

union  esphome::ina226::ConfigurationRegister
 
class  esphome::ina226::INA226Component
 

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::ina226
 

Enumerations

enum  esphome::ina226::AdcTime : uint16_t {
  esphome::ina226::ADC_TIME_140US = 0 , esphome::ina226::ADC_TIME_204US = 1 , esphome::ina226::ADC_TIME_332US = 2 , esphome::ina226::ADC_TIME_588US = 3 ,
  esphome::ina226::ADC_TIME_1100US = 4 , esphome::ina226::ADC_TIME_2116US = 5 , esphome::ina226::ADC_TIME_4156US = 6 , esphome::ina226::ADC_TIME_8244US = 7
}
 
enum  esphome::ina226::AdcAvgSamples : uint16_t {
  esphome::ina226::ADC_AVG_SAMPLES_1 = 0 , esphome::ina226::ADC_AVG_SAMPLES_4 = 1 , esphome::ina226::ADC_AVG_SAMPLES_16 = 2 , esphome::ina226::ADC_AVG_SAMPLES_64 = 3 ,
  esphome::ina226::ADC_AVG_SAMPLES_128 = 4 , esphome::ina226::ADC_AVG_SAMPLES_256 = 5 , esphome::ina226::ADC_AVG_SAMPLES_512 = 6 , esphome::ina226::ADC_AVG_SAMPLES_1024 = 7
}
 

Variables

uint16_t mode
 
AdcTime shunt_voltage_conversion_time
 
AdcTime bus_voltage_conversion_time
 
AdcAvgSamples avg_samples
 
uint16_t reserved
 
uint16_t reset
 

Variable Documentation

◆ avg_samples

AdcAvgSamples avg_samples

Definition at line 3 of file ina226.h.

◆ bus_voltage_conversion_time

AdcTime bus_voltage_conversion_time

Definition at line 2 of file ina226.h.

◆ mode

uint16_t mode

Definition at line 0 of file ina226.h.

◆ reserved

uint16_t reserved

Definition at line 4 of file ina226.h.

◆ reset

uint16_t reset

Definition at line 5 of file ina226.h.

◆ shunt_voltage_conversion_time

AdcTime shunt_voltage_conversion_time

Definition at line 1 of file ina226.h.