Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/current_amp/
Dcurrent_amp.c47 int32_t i_ma; in get() local
62 i_ma = raw_val; in get()
63 current_sense_amplifier_scale_dt(config, &i_ma); in get()
66 (1 << data->sequence.resolution) - 1, raw_val, i_ma); in get()
68 val->val1 = i_ma / 1000; in get()
69 val->val2 = (i_ma % 1000) * 1000; in get()