|
openMMC
Open Source Modular MMC for AMCs
|

Macros | |
| #define | INA220_CONFIG 0x00 |
| INA220 Configuration register (Read/write) | |
| #define | INA220_SHUNT_VOLTAGE 0x01 |
| INA220 Shunt Voltage register (Read only) | |
| #define | INA220_BUS_VOLTAGE 0x02 |
| INA220 Bus Voltage register (Read only) | |
| #define | INA220_POWER 0x03 |
| INA220 Power register (Read only) | |
| #define | INA220_CURRENT 0x04 |
| INA220 Current register (Read only) | |
| #define | INA220_CALIBRATION 0x05 |
| INA220 Calibration register (Read/write) | |
| #define INA220_BUS_VOLTAGE 0x02 |
#include <modules/sensors/ina220.h>
INA220 Bus Voltage register (Read only)
Bus Voltage measurement data
| #define INA220_CALIBRATION 0x05 |
#include <modules/sensors/ina220.h>
INA220 Calibration register (Read/write)
Sets full-scale range and LSB of current and power measurements. Overall system calibration
| #define INA220_CONFIG 0x00 |
#include <modules/sensors/ina220.h>
INA220 Configuration register (Read/write)
All-register reset, settings for bus voltage range, PGA gain, ADC resolution/averaging
| #define INA220_CURRENT 0x04 |
#include <modules/sensors/ina220.h>
INA220 Current register (Read only)
Contains the value of the current flowing through the shunt resistor.
| #define INA220_POWER 0x03 |
#include <modules/sensors/ina220.h>
INA220 Power register (Read only)
Power measurement data
| #define INA220_SHUNT_VOLTAGE 0x01 |
#include <modules/sensors/ina220.h>
INA220 Shunt Voltage register (Read only)
Shunt voltage measurement data