Searched refs:ADC_CTL0 (Results 1 – 1 of 1) sorted by relevance
54 #undef ADC_CTL062 #define ADC_CTL0(adc0) REG32((adc0) + 0x00000004U) macro160 ADC_CTL0(cfg->reg) &= ~ADC_CTL0_EOCIE; in adc_gd32_isr()177 ADC_CTL0(cfg->reg) |= ADC_CTL0_EOCIE; in adc_context_start_sampling()304 ADC_CTL0(cfg->reg) &= ~ADC_CTL0_DRES; in adc_gd32_start_read()305 ADC_CTL0(cfg->reg) |= CTL0_DRES(resolution_id); in adc_gd32_start_read()424 (ADC_CTL0(cfg_##n->reg) & ADC_CTL0_EOCIE)) { \