LibDriver INA219
Loading...
Searching...
No Matches
driver_ina219_shot.h File Reference
Include dependency graph for driver_ina219_shot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INA219_SHOT_DEFAULT_BUS_VOLTAGE_RANGE   INA219_BUS_VOLTAGE_RANGE_32V
 ina219 shot example default definition
#define INA219_SHOT_DEFAULT_BUS_VOLTAGE_ADC_MODE   INA219_ADC_MODE_12_BIT_1_SAMPLES
#define INA219_SHOT_DEFAULT_SHUNT_VOLTAGE_ADC_MODE   INA219_ADC_MODE_12_BIT_1_SAMPLES
#define INA219_SHOT_DEFAULT_PGA   INA219_PGA_320_MV

Functions

uint8_t ina219_shot_init (ina219_address_t addr_pin, double r)
 shot example init
uint8_t ina219_shot_deinit (void)
 shot example deinit
uint8_t ina219_shot_read (float *mV, float *mA, float *mW)
 shot example read