INA234 HAL Based Library 1.0.1
This library is a software library that works with the INA234 current, voltage, and power monitor chip. This library provides a convenient and efficient way to access the I2C interfaces of the chip, allowing developers to easily integrate this power meter into their systems.
Loading...
Searching...
No Matches
ina234 Struct Reference

Class (struct) that stores variables for interacting with INA234. More...

#include <ina234.h>

Data Structures

union  _reg
 

Data Fields

I2C_HandleTypeDef * hi2c
 
uint8_t I2C_ADDR
 
ADCRange adc_range
 
NumSamples number_of_adc_samples
 
ConvTime vbus_conversion_time
 
ConvTime vshunt_conversion_time
 
Mode mode
 
float ShuntResistor
 
AlertOn alert_on
 
AlertPolarity alert_polarity
 
AlertLatch alert_latch
 
AlertConvReady alert_conv_ready
 
float alert_limit
 
int32_t alert_limit_int
 
float ShuntVoltage
 
float BusVoltage
 
float Power
 
float Current
 
union ina234::_reg reg
 

Detailed Description

Class (struct) that stores variables for interacting with INA234.

Field Documentation

◆ adc_range

ADCRange adc_range

◆ alert_conv_ready

AlertConvReady alert_conv_ready

◆ alert_latch

AlertLatch alert_latch

◆ alert_limit

float alert_limit

◆ alert_limit_int

int32_t alert_limit_int

◆ alert_on

AlertOn alert_on

◆ alert_polarity

AlertPolarity alert_polarity

◆ BusVoltage

float BusVoltage

◆ Current

float Current

◆ hi2c

I2C_HandleTypeDef* hi2c

Specifies the I2C handler.

◆ I2C_ADDR

uint8_t I2C_ADDR

◆ mode

Mode mode

◆ number_of_adc_samples

NumSamples number_of_adc_samples

◆ Power

float Power

◆ reg

union ina234::_reg reg

◆ ShuntResistor

float ShuntResistor

◆ ShuntVoltage

float ShuntVoltage

◆ vbus_conversion_time

ConvTime vbus_conversion_time

◆ vshunt_conversion_time

ConvTime vshunt_conversion_time

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