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

#include <ina2xx_base.h>

Public Member Functions

struct {
   uint16_t   reserved_0_3: 4
 
   AdcRange   ADCRANGE: 1
 
   bool   TEMPCOMP: 1
 
   uint16_t   CONVDLY: 8
 
   bool   RSTACC: 1
 
   bool   RST: 1
 
__attribute__ ((packed))
 

Data Fields

uint16_t raw_u16
 

Detailed Description

Definition at line 59 of file ina2xx_base.h.

Member Function Documentation

◆ __attribute__()

struct esphome::ina2xx_base::ConfigurationRegister::@83 esphome::ina2xx_base::ConfigurationRegister::__attribute__ ( (packed)  )

Field Documentation

◆ ADCRANGE

AdcRange esphome::ina2xx_base::ConfigurationRegister::ADCRANGE

Definition at line 63 of file ina2xx_base.h.

◆ CONVDLY

uint16_t esphome::ina2xx_base::ConfigurationRegister::CONVDLY

Definition at line 65 of file ina2xx_base.h.

◆ raw_u16

uint16_t esphome::ina2xx_base::ConfigurationRegister::raw_u16

Definition at line 60 of file ina2xx_base.h.

◆ reserved_0_3

uint16_t esphome::ina2xx_base::ConfigurationRegister::reserved_0_3

Definition at line 62 of file ina2xx_base.h.

◆ RST

bool esphome::ina2xx_base::ConfigurationRegister::RST

Definition at line 67 of file ina2xx_base.h.

◆ RSTACC

bool esphome::ina2xx_base::ConfigurationRegister::RSTACC

Definition at line 66 of file ina2xx_base.h.

◆ TEMPCOMP

bool esphome::ina2xx_base::ConfigurationRegister::TEMPCOMP

Definition at line 64 of file ina2xx_base.h.


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