Searched refs:resolution_id (Results 1 – 1 of 1) sorted by relevance
275 uint8_t resolution_id; in adc_gd32_start_read() local286 resolution_id = 0U; in adc_gd32_start_read()289 resolution_id = 1U; in adc_gd32_start_read()292 resolution_id = 2U; in adc_gd32_start_read()295 resolution_id = 3U; in adc_gd32_start_read()305 ADC_CTL0(cfg->reg) |= CTL0_DRES(resolution_id); in adc_gd32_start_read()309 ADC_OVSAMPCTL(cfg->reg) |= OVSAMPCTL_DRES(resolution_id); in adc_gd32_start_read()312 ADC_OVSCR(cfg->reg) |= OVSCR_DRES(resolution_id); in adc_gd32_start_read()