![]() |
LibDriver INA226
|
#include "driver_ina226_interface.h"Go to the source code of this file.
Macros | |
| #define | INA226_BASIC_DEFAULT_AVG_MODE INA226_AVG_16 |
| ina226 basic example default definition | |
| #define | INA226_BASIC_DEFAULT_BUS_VOLTAGE_CONVERSION_TIME INA226_CONVERSION_TIME_1P1_MS |
| #define | INA226_BASIC_DEFAULT_SHUNT_VOLTAGE_CONVERSION_TIME INA226_CONVERSION_TIME_1P1_MS |
Functions | |
| uint8_t | ina226_basic_init (ina226_address_t addr_pin, double r) |
| basic example init | |
| uint8_t | ina226_basic_deinit (void) |
| basic example deinit | |
| uint8_t | ina226_basic_read (float *mV, float *mA, float *mW) |
| basic example read | |