STM32 HAL库之DMA模式ADC
HAL_ADC_Init() 用户自行调用 加载ADC属性 //ADC句柄声明 ADC_HandleTypeDef AdcHandle; AdcHandle.Instance = ADC1; AdcHandle.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4; AdcHandle.Init.LowPowerAutoWait = DISABLE; AdcHandle.Init.LowPowerAutoPowerOff = DISABLE; AdcHandle.Init.Resolution = ADC_RESOLUTION_10B; AdcHandl
用户评论