Searched refs:sar_ctrl (Results 1 – 1 of 1) sorted by relevance
208 uint32_t sar_ctrl; in adc_xec_start_read() local226 sar_ctrl = regs->sar_control_reg; in adc_xec_start_read()227 sar_ctrl &= ~(MCHP_ADC_SAR_CTRL_RES_MASK | in adc_xec_start_read()231 sar_ctrl |= MCHP_ADC_SAR_CTRL_RES_12_BITS; in adc_xec_start_read()233 sar_ctrl |= MCHP_ADC_SAR_CTRL_RES_10_BITS; in adc_xec_start_read()234 sar_ctrl |= MCHP_ADC_SAR_CTRL_SHIFTD_EN; in adc_xec_start_read()239 regs->sar_control_reg = sar_ctrl; in adc_xec_start_read()