Searched refs:ina226_reg_write (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/sensor/ti/ina226/ |
D | ina226.c | 86 int ina226_reg_write(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t val) in ina226_reg_write() function 202 return ina226_reg_write(&config->bus, INA226_REG_CONFIG, data); in ina226_attr_set() 204 return ina226_reg_write(&config->bus, INA226_REG_CALIB, data); in ina226_attr_set() 247 ret = ina226_reg_write(&config->bus, INA226_REG_CALIB, config->cal); in ina226_calibrate() 291 ret = ina226_reg_write(&config->bus, INA226_REG_CONFIG, config->config); in ina226_init()
|