Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/sensor/bq274xx/src/
Dmain.c30 struct sensor_value voltage, current, state_of_charge, in do_main() local
111 &state_of_charge); in do_main()
117 printk("State of charge: %d%%\n", state_of_charge.val1); in do_main()
/Zephyr-Core-3.7.0/drivers/sensor/maxim/max17055/
Dmax17055.h55 uint16_t state_of_charge; member
Dmax17055.c177 valp->val1 = priv->state_of_charge / 256; in max17055_channel_get()
178 valp->val2 = priv->state_of_charge % 256 * 1000000 / 256; in max17055_channel_get()
266 ret = max17055_reg_read(dev, REP_SOC, &priv->state_of_charge); in max17055_sample_fetch()
/Zephyr-Core-3.7.0/drivers/sensor/maxim/max17262/
Dmax17262.h58 uint16_t state_of_charge; member
Dmax17262.c108 valp->val1 = data->state_of_charge / 256; in max17262_channel_get()
109 valp->val2 = data->state_of_charge % 256 * 1000000 / 256; in max17262_channel_get()
190 { REP_SOC, &data->state_of_charge }, in max17262_sample_fetch()
/Zephyr-Core-3.7.0/drivers/sensor/sbs_gauge/
Dsbs_gauge.h65 uint16_t state_of_charge; member
Dsbs_gauge.c73 val->val1 = data->state_of_charge; in sbs_gauge_channel_get()
164 &data->state_of_charge); in sbs_gauge_sample_fetch()
/Zephyr-Core-3.7.0/drivers/sensor/ti/bq274xx/
Dbq274xx.h95 uint16_t state_of_charge; member
Dbq274xx.c524 val->val1 = data->state_of_charge; in bq274xx_channel_get()
624 &data->state_of_charge); in bq274xx_sample_fetch()