ina3221_defines.h File Reference

Internal definitions for Texas Instruments INA3221 three-channel, high-side current and bus voltage monitor. More...

Detailed Description

Internal definitions for Texas Instruments INA3221 three-channel, high-side current and bus voltage monitor.

Author
Fabian Hüßler fabia.nosp@m.n.hu.nosp@m.essle.nosp@m.r@ov.nosp@m.gu.de

Definition in file ina3221_defines.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define INA3221_REG_ADDR_LEN   (1)
 Register address length.
 
#define INA3221_REG_LEN   (2)
 Register length.
 
#define INA3221_SHUNT_VOLTAGE_PRECISION_UV   (40)
 Shunt voltage measurement precision.
 
#define INA3221_BUS_VOLTAGE_PRECISION_MV   (8)
 Bus voltage measurement precision.
 
#define INA3221_MANUFACTURER_ID   (0x5449)
 INA3221 manufacturer ID.
 
#define INA3221_DIE_ID   (0x3220)
 INA3221 DIE ID.
 

INA3221 Limits

#define INA3221_MAX_SHUNT_REG_VAL   ((int16_t)(0x7FF8))
 0111 1111 1111 1000
 
#define INA3221_MIN_SHUNT_REG_VAL   ((int16_t)(0x8000))
 1000 0000 0000 0000
 
#define INA3221_MAX_BUS_REG_VAL   ((int16_t)(0x7FF8))
 0111 1111 1111 1000
 
#define INA3221_MIN_BUS_REG_VAL   ((int16_t)(0x8000))
 1000 0000 0000 0000
 
#define INA3221_MAX_SHUNT_SUM_REG_VAL   ((int16_t)(0x7FFE))
 0111 1111 1111 1110
 
#define INA3221_MIN_SHUNT_SUM_REG_VAL   ((int16_t)(0x8000))
 1000 0000 0000 0000
 
#define INA3221_MAX_SHUNT_UV   (163800)
 Max. More...
 
#define INA3221_MIN_SHUNT_UV   (-163840)
 Min. More...
 
#define INA3221_MAX_BUS_MV   (26000)
 Max. More...
 
#define INA3221_MIN_BUS_MV   (0)
 Min. More...
 
#define INA3221_MAX_SHUNT_SUM_UV   (655320)
 Max. More...
 
#define INA3221_MIN_SHUNT_SUM_UV   (-655360)
 Min. More...
 

Macro Definition Documentation

◆ INA3221_MAX_BUS_MV

#define INA3221_MAX_BUS_MV   (26000)

Max.

measurable bus voltage value

Definition at line 49 of file ina3221_defines.h.

◆ INA3221_MAX_SHUNT_SUM_UV

#define INA3221_MAX_SHUNT_SUM_UV   (655320)

Max.

measurable shunt sum voltage value

Definition at line 51 of file ina3221_defines.h.

◆ INA3221_MAX_SHUNT_UV

#define INA3221_MAX_SHUNT_UV   (163800)

Max.

measurable shunt voltage value

Definition at line 47 of file ina3221_defines.h.

◆ INA3221_MIN_BUS_MV

#define INA3221_MIN_BUS_MV   (0)

Min.

measurable bus voltage value

Definition at line 50 of file ina3221_defines.h.

◆ INA3221_MIN_SHUNT_SUM_UV

#define INA3221_MIN_SHUNT_SUM_UV   (-655360)

Min.

measurable shunt sum voltage value

Definition at line 52 of file ina3221_defines.h.

◆ INA3221_MIN_SHUNT_UV

#define INA3221_MIN_SHUNT_UV   (-163840)

Min.

measurable shunt voltage value

Definition at line 48 of file ina3221_defines.h.