Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ina226.h File Reference

Go to the source code of this file.

Macros

#define INA226_RST_NORMAL_OPERATION   0x00
 
#define INA226_RST_SYSTEM_RESET   0x01
 
#define INA226_AVG_MODE_1   0x00
 
#define INA226_AVG_MODE_4   0x01
 
#define INA226_AVG_MODE_16   0x02
 
#define INA226_AVG_MODE_64   0x03
 
#define INA226_AVG_MODE_128   0x04
 
#define INA226_AVG_MODE_256   0x05
 
#define INA226_AVG_MODE_512   0x06
 
#define INA226_AVG_MODE_1024   0x07
 
#define INA226_CONV_TIME_140   0x00
 
#define INA226_CONV_TIME_204   0x01
 
#define INA226_CONV_TIME_332   0x02
 
#define INA226_CONV_TIME_588   0x03
 
#define INA226_CONV_TIME_1100   0x04
 
#define INA226_CONV_TIME_2116   0x05
 
#define INA226_CONV_TIME_4156   0x06
 
#define INA226_CONV_TIME_8244   0x07
 
#define INA226_OPER_MODE_POWER_DOWN   0x00
 
#define INA226_OPER_MODE_SHUNT_VOLTAGE_TRIG   0x01
 
#define INA226_OPER_MODE_BUS_VOLTAGE_TRIG   0x02
 
#define INA226_OPER_MODE_SHUNT_BUS_VOLTAGE_TRIG   0x03
 
#define INA226_OPER_MODE_SHUNT_VOLTAGE_CONT   0x05
 
#define INA226_OPER_MODE_BUS_VOLTAGE_CONT   0x06
 
#define INA226_OPER_MODE_SHUNT_BUS_VOLTAGE_CONT   0x07
 

Macro Definition Documentation

◆ INA226_AVG_MODE_1

#define INA226_AVG_MODE_1   0x00

◆ INA226_AVG_MODE_1024

#define INA226_AVG_MODE_1024   0x07

◆ INA226_AVG_MODE_128

#define INA226_AVG_MODE_128   0x04

◆ INA226_AVG_MODE_16

#define INA226_AVG_MODE_16   0x02

◆ INA226_AVG_MODE_256

#define INA226_AVG_MODE_256   0x05

◆ INA226_AVG_MODE_4

#define INA226_AVG_MODE_4   0x01

◆ INA226_AVG_MODE_512

#define INA226_AVG_MODE_512   0x06

◆ INA226_AVG_MODE_64

#define INA226_AVG_MODE_64   0x03

◆ INA226_CONV_TIME_1100

#define INA226_CONV_TIME_1100   0x04

◆ INA226_CONV_TIME_140

#define INA226_CONV_TIME_140   0x00

◆ INA226_CONV_TIME_204

#define INA226_CONV_TIME_204   0x01

◆ INA226_CONV_TIME_2116

#define INA226_CONV_TIME_2116   0x05

◆ INA226_CONV_TIME_332

#define INA226_CONV_TIME_332   0x02

◆ INA226_CONV_TIME_4156

#define INA226_CONV_TIME_4156   0x06

◆ INA226_CONV_TIME_588

#define INA226_CONV_TIME_588   0x03

◆ INA226_CONV_TIME_8244

#define INA226_CONV_TIME_8244   0x07

◆ INA226_OPER_MODE_BUS_VOLTAGE_CONT

#define INA226_OPER_MODE_BUS_VOLTAGE_CONT   0x06

◆ INA226_OPER_MODE_BUS_VOLTAGE_TRIG

#define INA226_OPER_MODE_BUS_VOLTAGE_TRIG   0x02

◆ INA226_OPER_MODE_POWER_DOWN

#define INA226_OPER_MODE_POWER_DOWN   0x00

◆ INA226_OPER_MODE_SHUNT_BUS_VOLTAGE_CONT

#define INA226_OPER_MODE_SHUNT_BUS_VOLTAGE_CONT   0x07

◆ INA226_OPER_MODE_SHUNT_BUS_VOLTAGE_TRIG

#define INA226_OPER_MODE_SHUNT_BUS_VOLTAGE_TRIG   0x03

◆ INA226_OPER_MODE_SHUNT_VOLTAGE_CONT

#define INA226_OPER_MODE_SHUNT_VOLTAGE_CONT   0x05

◆ INA226_OPER_MODE_SHUNT_VOLTAGE_TRIG

#define INA226_OPER_MODE_SHUNT_VOLTAGE_TRIG   0x01

◆ INA226_RST_NORMAL_OPERATION

#define INA226_RST_NORMAL_OPERATION   0x00

◆ INA226_RST_SYSTEM_RESET

#define INA226_RST_SYSTEM_RESET   0x01