ESPHome  2024.10.2
Public Member Functions | Data Fields
esphome::ina226::ConfigurationRegister Union Reference

#include <ina226.h>

Public Member Functions

struct {
   uint16_t   mode: 3
 
   AdcTime   shunt_voltage_conversion_time: 3
 
   AdcTime   bus_voltage_conversion_time: 3
 
   AdcAvgSamples   avg_samples: 3
 
   uint16_t   reserved: 3
 
   uint16_t   reset: 1
 
__attribute__ ((packed))
 

Data Fields

uint16_t raw
 

Detailed Description

Definition at line 32 of file ina226.h.

Member Function Documentation

◆ __attribute__()

struct esphome::ina226::ConfigurationRegister::@82 esphome::ina226::ConfigurationRegister::__attribute__ ( (packed)  )

Field Documentation

◆ avg_samples

AdcAvgSamples esphome::ina226::ConfigurationRegister::avg_samples

Definition at line 38 of file ina226.h.

◆ bus_voltage_conversion_time

AdcTime esphome::ina226::ConfigurationRegister::bus_voltage_conversion_time

Definition at line 37 of file ina226.h.

◆ mode

uint16_t esphome::ina226::ConfigurationRegister::mode

Definition at line 35 of file ina226.h.

◆ raw

uint16_t esphome::ina226::ConfigurationRegister::raw

Definition at line 33 of file ina226.h.

◆ reserved

uint16_t esphome::ina226::ConfigurationRegister::reserved

Definition at line 39 of file ina226.h.

◆ reset

uint16_t esphome::ina226::ConfigurationRegister::reset

Definition at line 40 of file ina226.h.

◆ shunt_voltage_conversion_time

AdcTime esphome::ina226::ConfigurationRegister::shunt_voltage_conversion_time

Definition at line 36 of file ina226.h.


The documentation for this union was generated from the following file: