ina220-regs.h

Register definitions for Texas Instruments INA220 High or Low Side, Bi-Directional CURRENT/POWER MONITOR with Two-Wire Interface.

enum ina220_reg
INA220_REG_CONFIGURATION = 0x00
Configuration register (read/write)
INA220_REG_SHUNT_VOLTAGE = 0x01
Shunt voltage register (read only)
INA220_REG_BUS_VOLTAGE = 0x02
Bus voltage register (read only)
INA220_REG_POWER = 0x03
Power register (read only)
INA220_REG_CURRENT = 0x04
Current register (read only)
INA220_REG_CALIBRATION = 0x05
Calibration register (read/write)
enum ina220-regs.h::ina220_reg ina220_reg_t

INA220 register addresses.

All registers in the INA220 are 16 bit wide and transmitted MSB first.