Searched refs:ADC_OVSCR (Results 1 – 2 of 2) sorted by relevance
924 ADC_OVSCR(adc_periph) &= ~((uint32_t)ADC_OVSCR_DRES); in adc_resolution_config()925 ADC_OVSCR(adc_periph) |= (uint32_t)resolution; in adc_resolution_config()964 ADC_OVSCR(adc_periph) |= (uint32_t)ADC_OVSCR_TOVS; in adc_oversample_mode_config()966 ADC_OVSCR(adc_periph) &= ~((uint32_t)ADC_OVSCR_TOVS); in adc_oversample_mode_config()969 ADC_OVSCR(adc_periph) &= ~((uint32_t)(ADC_OVSCR_OVSR | ADC_OVSCR_OVSS)); in adc_oversample_mode_config()970 ADC_OVSCR(adc_periph) |= ((uint32_t)shift | (uint32_t)ratio); in adc_oversample_mode_config()981 ADC_OVSCR(adc_periph) |= ADC_OVSCR_OVSEN; in adc_oversample_mode_enable()992 ADC_OVSCR(adc_periph) &= ~((uint32_t)ADC_OVSCR_OVSEN); in adc_oversample_mode_disable()
66 #define ADC_OVSCR(adcx) REG32((adcx) + 0x80U) /*!< ADC oversample contro… macro