![]() |
LibDriver INA219
|
#include "driver_ina219_interface.h"Go to the source code of this file.
Macros | |
| #define | INA219_BASIC_DEFAULT_BUS_VOLTAGE_RANGE INA219_BUS_VOLTAGE_RANGE_32V |
| ina219 basic example default definition | |
| #define | INA219_BASIC_DEFAULT_BUS_VOLTAGE_ADC_MODE INA219_ADC_MODE_12_BIT_1_SAMPLES |
| #define | INA219_BASIC_DEFAULT_SHUNT_VOLTAGE_ADC_MODE INA219_ADC_MODE_12_BIT_1_SAMPLES |
| #define | INA219_BASIC_DEFAULT_PGA INA219_PGA_320_MV |
Functions | |
| uint8_t | ina219_basic_init (ina219_address_t addr_pin, double r) |
| basic example init | |
| uint8_t | ina219_basic_deinit (void) |
| basic example deinit | |
| uint8_t | ina219_basic_read (float *mV, float *mA, float *mW) |
| basic example read | |