Home
last modified time | relevance | path

Searched refs:ina23x_reg_read_16 (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina230.c81 ret = ina23x_reg_read_16(&config->bus, INA230_REG_BUS_VOLT, &data->bus_voltage); in ina230_sample_fetch()
89 ret = ina23x_reg_read_16(&config->bus, INA230_REG_CURRENT, &data->current); in ina230_sample_fetch()
97 ret = ina23x_reg_read_16(&config->bus, INA230_REG_POWER, &data->power); in ina230_sample_fetch()
137 ret = ina23x_reg_read_16(&config->bus, INA230_REG_CONFIG, &data); in ina230_attr_get()
143 ret = ina23x_reg_read_16(&config->bus, INA230_REG_CALIB, &data); in ina230_attr_get()
149 ret = ina23x_reg_read_16(&config->bus, INA230_REG_MASK, &data); in ina230_attr_get()
155 ret = ina23x_reg_read_16(&config->bus, INA230_REG_ALERT, &data); in ina230_attr_get()
Dina237.c149 ret = ina23x_reg_read_16(&config->bus, INA237_REG_BUS_VOLT, &data->bus_voltage); in ina237_read_data()
157 ret = ina23x_reg_read_16(&config->bus, INA237_REG_CURRENT, &data->current); in ina237_read_data()
173 ret = ina23x_reg_read_16(&config->bus, INA237_REG_DIETEMP, &data->die_temp); in ina237_read_data()
182 ret = ina23x_reg_read_16(&config->bus, INA237_REG_SHUNT_VOLT, &data->shunt_voltage); in ina237_read_data()
247 ret = ina23x_reg_read_16(&config->bus, INA237_REG_CONFIG, &data); in ina237_attr_get()
253 ret = ina23x_reg_read_16(&config->bus, INA237_REG_CALIB, &data); in ina237_attr_get()
292 ret = ina23x_reg_read_16(&config->bus, INA237_REG_ALERT, &reg_alert); in ina237_trigger_work_handler()
322 ret = ina23x_reg_read_16(&config->bus, INA237_REG_MANUFACTURER_ID, &id); in ina237_init()
Dina23x_common.h21 int ina23x_reg_read_16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t *val);
Dina23x_common.c26 int ina23x_reg_read_16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t *val) in ina23x_reg_read_16() function