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.
 

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