Searched refs:res_mask (Results 1 – 2 of 2) sorted by relevance
83 uint16_t res_mask; member342 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()
730 uint8_t res_mask = 0; local738 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);