Loading...
Searching...
No Matches
ina2xx_params_t Struct Reference

Configuration parameters of the INA2xx driver. More...

Detailed Description

Configuration parameters of the INA2xx driver.

Definition at line 176 of file ina2xx.h.

#include <ina2xx.h>

Data Fields

i2c_t i2c
 I2C device the sensor is connected to.
 
uint8_t addr
 I2C address of the sensr.
 
uint16_t config
 Configuration to apply.
 
uint16_t rshunt_mohm
 Size of the shunt resistor in mΩ
 
ina2xx_i_range_t i_range
 Range of the measured current.
 

Field Documentation

◆ addr

uint8_t ina2xx_params_t::addr

I2C address of the sensr.

Definition at line 178 of file ina2xx.h.

◆ config

uint16_t ina2xx_params_t::config

Configuration to apply.

Definition at line 179 of file ina2xx.h.

◆ i2c

i2c_t ina2xx_params_t::i2c

I2C device the sensor is connected to.

Definition at line 177 of file ina2xx.h.

◆ i_range

ina2xx_i_range_t ina2xx_params_t::i_range

Range of the measured current.

Definition at line 181 of file ina2xx.h.

◆ rshunt_mohm

uint16_t ina2xx_params_t::rshunt_mohm

Size of the shunt resistor in mΩ

Definition at line 180 of file ina2xx.h.


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