Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/maxim/max17055/
Dmax17055.c30 static int max17055_reg_read(const struct device *dev, uint8_t reg_addr, in max17055_reg_read() function
244 ret = max17055_reg_read(dev, VCELL, &priv->voltage); in max17055_sample_fetch()
252 ret = max17055_reg_read(dev, VFOCV, &priv->ocv); in max17055_sample_fetch()
259 ret = max17055_reg_read(dev, AVG_CURRENT, &priv->avg_current); in max17055_sample_fetch()
266 ret = max17055_reg_read(dev, REP_SOC, &priv->state_of_charge); in max17055_sample_fetch()
273 ret = max17055_reg_read(dev, INT_TEMP, &priv->internal_temp); in max17055_sample_fetch()
280 ret = max17055_reg_read(dev, REP_CAP, &priv->remaining_cap); in max17055_sample_fetch()
287 ret = max17055_reg_read(dev, FULL_CAP_REP, &priv->full_cap); in max17055_sample_fetch()
294 ret = max17055_reg_read(dev, TTE, &priv->time_to_empty); in max17055_sample_fetch()
301 ret = max17055_reg_read(dev, TTF, &priv->time_to_full); in max17055_sample_fetch()
[all …]