37 #ifndef DRIVER_INA226_SHOT_H
38 #define DRIVER_INA226_SHOT_H
54 #define INA226_SHOT_DEFAULT_AVG_MODE INA226_AVG_16
55 #define INA226_SHOT_DEFAULT_BUS_VOLTAGE_CONVERSION_TIME INA226_CONVERSION_TIME_1P1_MS
56 #define INA226_SHOT_DEFAULT_SHUNT_VOLTAGE_CONVERSION_TIME INA226_CONVERSION_TIME_1P1_MS
driver ina226 interface header file
ina226_address_t
ina226 address enumeration definition
uint8_t ina226_shot_read(float *mV, float *mA, float *mW)
shot example read
uint8_t ina226_shot_deinit(void)
shot example deinit
uint8_t ina226_shot_init(ina226_address_t addr_pin, double r)
shot example init