Various definitions for Texas Instruments INA219/INA220 Bi-Directional CURRENT/POWER MONITOR with Two-Wire Interface. More...
Various definitions for Texas Instruments INA219/INA220 Bi-Directional CURRENT/POWER MONITOR with Two-Wire Interface.
Definition in file ina2xx_defines.h.
Go to the source code of this file.
Flags in the INA2XX Bus Voltage Register | |
#define | INA2XX_VBUS_CNVR (0x2) |
Unread value in power register ready. | |
#define | INA2XX_VBUS_OVF (0x1) |
Math overflow during conversion. | |
Special configuration register values | |
#define | INA2XX_RESET (0x8000 |
Write to config reg to reset device. | |
#define | INA2XX_DEFCONFIG (0x399f |
Default config after reset. | |
enum | ina2xx_reg { INA2XX_REG_CONFIGURATION = 0x00 , INA2XX_REG_SHUNT_VOLTAGE = 0x01 , INA2XX_REG_BUS_VOLTAGE = 0x02 , INA2XX_REG_POWER = 0x03 , INA2XX_REG_CURRENT = 0x04 , INA2XX_REG_CALIBRATION = 0x05 } |
INA2XX register addresses. More... | |
typedef enum ina2xx_reg | ina2xx_reg_t |
INA2XX register addresses. | |
#define INA2XX_DEFCONFIG (0x399f |
Default config after reset.
Definition at line 56 of file ina2xx_defines.h.
#define INA2XX_RESET (0x8000 |
Write to config reg to reset device.
Definition at line 55 of file ina2xx_defines.h.
#define INA2XX_VBUS_CNVR (0x2) |
Unread value in power register ready.
Definition at line 47 of file ina2xx_defines.h.
#define INA2XX_VBUS_OVF (0x1) |
Math overflow during conversion.
Definition at line 48 of file ina2xx_defines.h.
typedef enum ina2xx_reg ina2xx_reg_t |
INA2XX register addresses.
All registers in the INA2XX are 16 bit wide and transmitted MSB first.
enum ina2xx_reg |
INA2XX register addresses.
All registers in the INA2XX are 16 bit wide and transmitted MSB first.
Definition at line 34 of file ina2xx_defines.h.