Home
last modified time | relevance | path

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

/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/source/
Dgd32vf103_adc.c924 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()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/include/
Dgd32vf103_adc.h66 #define ADC_OVSCR(adcx) REG32((adcx) + 0x80U) /*!< ADC oversample contro… macro