Home
last modified time | relevance | path

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

/Zephyr-latest/samples/sensor/max17262/src/
Dmain.c22 struct sensor_value voltage, avg_current, temperature; in main() local
28 &avg_current); in main()
31 i_avg = avg_current.val1 + (avg_current.val2 / 1000000.0); in main()
/Zephyr-latest/drivers/sensor/sbs_gauge/
Dsbs_gauge.c61 val->val1 = data->avg_current / 1000; in sbs_gauge_channel_get()
62 val->val2 = (data->avg_current % 1000) * 1000; in sbs_gauge_channel_get()
146 &data->avg_current); in sbs_gauge_sample_fetch()
Dsbs_gauge.h64 int16_t avg_current; member
/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.h53 int16_t avg_current; member
Dmax17055.c172 current_ma = current_to_ma(config->rsense_mohms, priv->avg_current); in max17055_channel_get()
259 ret = max17055_reg_read(dev, AVG_CURRENT, &priv->avg_current); in max17055_sample_fetch()
/Zephyr-latest/drivers/sensor/maxim/max17262/
Dmax17262.h54 int16_t avg_current; member
Dmax17262.c101 current = data->avg_current * CURRENT_MULTIPLIER_NA; in max17262_channel_get()
188 { AVG_CURRENT, &data->avg_current }, in max17262_sample_fetch()
/Zephyr-latest/tests/drivers/fuel_gauge/bq27z746/src/
Dtest_bq27z746.c129 zassert_equal(vals[0].avg_current, -2000); in ZTEST_USER_F()
148 zassert_between_inclusive(props[0].avg_current, -32768 * 1000, 32767 * 1000); in ZTEST_USER_F()
/Zephyr-latest/drivers/sensor/ti/bq274xx/
Dbq274xx.h91 int16_t avg_current; member
Dbq274xx.c521 val->val1 = ((data->avg_current / 1000)); in bq274xx_channel_get()
522 val->val2 = ((data->avg_current % 1000) * 1000U); in bq274xx_channel_get()
609 &data->avg_current); in bq274xx_sample_fetch()
/Zephyr-latest/include/zephyr/drivers/
Dfuel_gauge.h126 int avg_current; member
/Zephyr-latest/drivers/fuel_gauge/bq27z746/
Dbq27z746.c126 val->avg_current = (int16_t)tmp_val * 1000; in bq27z746_get_prop()
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
Dsbs_gauge.c78 val->avg_current = tmp_val * 1000; in sbs_gauge_get_prop()