uint8_t Adc1ConvEnd=0;
uint8_t Adc2ConvEnd=0;
int main(void)
{
/* USER CODE BEGIN 1 */
uint16_t ADC_Value[4];
uint16_t VBusValue;
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/*
双ADC的使用 PWM触发ADC采样 ADC中断和DMA ADC自动校准——STM32CubeMX
于 2024-03-04 09:35:49 首次发布