Searched refs:avg_current (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/samples/sensor/max17262/src/ |
D | main.c | 22 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/ |
D | sbs_gauge.c | 61 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()
|
D | sbs_gauge.h | 64 int16_t avg_current; member
|
/Zephyr-latest/drivers/sensor/maxim/max17055/ |
D | max17055.h | 53 int16_t avg_current; member
|
D | max17055.c | 172 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/ |
D | max17262.h | 54 int16_t avg_current; member
|
D | max17262.c | 101 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/ |
D | test_bq27z746.c | 129 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/ |
D | bq274xx.h | 91 int16_t avg_current; member
|
D | bq274xx.c | 521 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/ |
D | fuel_gauge.h | 126 int avg_current; member
|
/Zephyr-latest/drivers/fuel_gauge/bq27z746/ |
D | bq27z746.c | 126 val->avg_current = (int16_t)tmp_val * 1000; in bq27z746_get_prop()
|
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/ |
D | sbs_gauge.c | 78 val->avg_current = tmp_val * 1000; in sbs_gauge_get_prop()
|