ESPHome  2024.11.0
Data Structures | Namespaces | Enumerations | Variables
ina226.h File Reference

Go to the source code of this file.

Data Structures

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

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 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 37 of file ina226.h.

◆ bus_voltage_conversion_time

AdcTime bus_voltage_conversion_time

Definition at line 36 of file ina226.h.

◆ mode

uint16_t mode

Definition at line 34 of file ina226.h.

◆ reserved

uint16_t reserved

Definition at line 38 of file ina226.h.

◆ reset

uint16_t reset

Definition at line 39 of file ina226.h.

◆ shunt_voltage_conversion_time

AdcTime shunt_voltage_conversion_time

Definition at line 35 of file ina226.h.