INA2xx  v1.1.0
Arduino Library to read current, voltage and power data from one or more INA2xx device(s)
inaDet Struct Reference

#include <INA.h>

Inheritance diagram for inaDet:
inaEEPROM

Public Member Functions

 inaDet ()
 struct constructor More...
 
 inaDet (inaEEPROM &inaEE)
 for ina = inaEE; assignment More...
 

Public Attributes

uint8_t busVoltageRegister: 3
 0- 7, Bus Voltage Register
 
uint8_t shuntVoltageRegister: 3
 0- 7, Shunt Voltage Register
 
uint8_t currentRegister: 3
 0- 7, Current Register
 
uint16_t shuntVoltage_LSB
 Device dependent LSB factor.
 
uint16_t busVoltage_LSB
 Device dependent LSB factor.
 
uint32_t current_LSB
 Amperage LSB.
 
uint32_t power_LSB
 Wattage LSB.
 
- Public Attributes inherited from inaEEPROM
uint8_t type: 4
 0-15 see enumerated "ina_Type" for details
 
uint8_t operatingMode: 4
 0-15 Default to continuous mode
 
uint32_t address: 7
 0-127 I2C Address of device
 
uint32_t maxBusAmps: 10
 0-1023 Store initialization value
 
uint32_t microOhmR: 20
 0-1,048,575 Store initialization value
 

Detailed Description

typedef contains a packed bit-level definition of information stored on a device

Constructor & Destructor Documentation

◆ inaDet() [1/2]

inaDet::inaDet ( )

struct constructor

< I2C Library definition

< Include the header definitionconstructor for INA Detail class

◆ inaDet() [2/2]

inaDet::inaDet ( inaEEPROM inaEE)

for ina = inaEE; assignment

INA Detail Class Constructor (Overloaded)

Construct the class using the saved EEPROM data structure

Parameters
[in]inaEESaved EEPROM Values

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