Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/veaa_x_3/
Dveaa_x_3.c130 const uint32_t max_adc_val = BIT(cfg->adc.resolution) - 1; in veaa_x_3_channel_get() local
141 val->val2 = (val->val1 % max_adc_val) * 1000000 / max_adc_val; in veaa_x_3_channel_get()
142 val->val1 = (val->val1 / max_adc_val) + cfg->kpa_min; in veaa_x_3_channel_get()