Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/nordic/npm2100_vbat/
Dnpm2100_vbat.c293 int32_t val_usec; in npm2100_vbat_attr_get() local
304 int ret = linear_range_get_value(&adcdelay_range, data->vbat_delay, &val_usec); in npm2100_vbat_attr_get()
310 return sensor_value_from_micro(val, val_usec); in npm2100_vbat_attr_get()
367 int32_t val_usec = sensor_value_to_micro(val); in npm2100_vbat_attr_set() local
374 if (val_usec == 0) { in npm2100_vbat_attr_set()
377 ret = linear_range_get_index(&adcdelay_range, val_usec, &delay); in npm2100_vbat_attr_set()