Searched refs:max17262_reg_write (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/sensor/maxim/max17262/ |
D | max17262.c | 54 static int max17262_reg_write(const struct device *dev, uint8_t reg_addr, int16_t val) in max17262_reg_write() function 276 rc = max17262_reg_write(dev, SOFT_WAKEUP, 0x0090); in max17262_gauge_init() 282 rc = max17262_reg_write(dev, HIBCFG, 0x0000); in max17262_gauge_init() 288 rc = max17262_reg_write(dev, SOFT_WAKEUP, 0x0000); in max17262_gauge_init() 295 rc = max17262_reg_write(dev, DESIGN_CAP, config->design_cap); in max17262_gauge_init() 301 rc = max17262_reg_write(dev, ICHG_TERM, config->desired_charging_current); in max17262_gauge_init() 307 rc = max17262_reg_write(dev, VEMPTY, in max17262_gauge_init() 316 rc = max17262_reg_write(dev, MODELCFG, 0x8400); in max17262_gauge_init() 318 rc = max17262_reg_write(dev, MODELCFG, 0x8000); in max17262_gauge_init() 344 rc = max17262_reg_write(dev, HIBCFG, hibcfg); in max17262_gauge_init() [all …]
|