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

Go to the source code of this file.

Macros

#define INA226_SHOT_DEFAULT_AVG_MODE   INA226_AVG_16
 ina226 shot example default definition
#define INA226_SHOT_DEFAULT_BUS_VOLTAGE_CONVERSION_TIME   INA226_CONVERSION_TIME_1P1_MS
#define INA226_SHOT_DEFAULT_SHUNT_VOLTAGE_CONVERSION_TIME   INA226_CONVERSION_TIME_1P1_MS

Functions

uint8_t ina226_shot_init (ina226_address_t addr_pin, double r)
 shot example init
uint8_t ina226_shot_deinit (void)
 shot example deinit
uint8_t ina226_shot_read (float *mV, float *mA, float *mW)
 shot example read