|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_INA226_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_INA226_H_
13#define INA226_RST_NORMAL_OPERATION 0x00
14#define INA226_RST_SYSTEM_RESET 0x01
17#define INA226_AVG_MODE_1 0x00
18#define INA226_AVG_MODE_4 0x01
19#define INA226_AVG_MODE_16 0x02
20#define INA226_AVG_MODE_64 0x03
21#define INA226_AVG_MODE_128 0x04
22#define INA226_AVG_MODE_256 0x05
23#define INA226_AVG_MODE_512 0x06
24#define INA226_AVG_MODE_1024 0x07
27#define INA226_CONV_TIME_140 0x00
28#define INA226_CONV_TIME_204 0x01
29#define INA226_CONV_TIME_332 0x02
30#define INA226_CONV_TIME_588 0x03
31#define INA226_CONV_TIME_1100 0x04
32#define INA226_CONV_TIME_2116 0x05
33#define INA226_CONV_TIME_4156 0x06
34#define INA226_CONV_TIME_8244 0x07
37#define INA226_OPER_MODE_POWER_DOWN 0x00
38#define INA226_OPER_MODE_SHUNT_VOLTAGE_TRIG 0x01
39#define INA226_OPER_MODE_BUS_VOLTAGE_TRIG 0x02
40#define INA226_OPER_MODE_SHUNT_BUS_VOLTAGE_TRIG 0x03
41#define INA226_OPER_MODE_SHUNT_VOLTAGE_CONT 0x05
42#define INA226_OPER_MODE_BUS_VOLTAGE_CONT 0x06
43#define INA226_OPER_MODE_SHUNT_BUS_VOLTAGE_CONT 0x07