Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/adc/
Dadc_emul.c83 uint16_t res_mask; member
342 data->res_mask = BIT_MASK(sequence->resolution); in adc_emul_start_read()
447 temp = (uint64_t)input_mV * data->res_mask / ref_v; in adc_emul_get_chan_value()
450 if (temp > data->res_mask) { in adc_emul_get_chan_value()
451 temp = data->res_mask; in adc_emul_get_chan_value()
Dadc_stm32.c730 uint8_t res_mask = 0; local
738 res_mask = STM32_ADC_GET_MASK(config->res_table[i]);
762 if (get_reg_value(dev, res_reg_addr, res_shift, res_mask) != res_reg_val) {
768 set_reg_value(dev, res_reg_addr, res_shift, res_mask, res_reg_val);