1.adc gpio初始化 /* 使能各种时钟和adc时钟分频输入 */ void rcu_config(void) { /*使能GPIO时钟 */ rcu_periph_clock_enable(RCU_GPIOA); /* 使能DMA时钟*/ rcu_periph_clock_enable(