Searched refs:ina226_reg_read_16 (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/sensor/ti/ina226/ |
D | ina226.c | 71 int ina226_reg_read_16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t *val) in ina226_reg_read_16() function 140 ret = ina226_reg_read_16(&config->bus, INA226_REG_BUS_VOLT, &data->bus_voltage); in ina226_read_data() 148 ret = ina226_reg_read_16(&config->bus, INA226_REG_CURRENT, &data->current); in ina226_read_data() 156 ret = ina226_reg_read_16(&config->bus, INA226_REG_POWER, &data->power); in ina226_read_data() 165 ret = ina226_reg_read_16(&config->bus, INA226_REG_SHUNT_VOLT, &data->shunt_voltage); in ina226_read_data() 220 ret = ina226_reg_read_16(&config->bus, INA226_REG_CONFIG, &data); in ina226_attr_get() 226 ret = ina226_reg_read_16(&config->bus, INA226_REG_CALIB, &data); in ina226_attr_get() 269 ret = ina226_reg_read_16(&config->bus, INA226_REG_MANUFACTURER_ID, &id); in ina226_init() 280 ret = ina226_reg_read_16(&config->bus, INA226_REG_DEVICE_ID, &id); in ina226_init()
|