开启一次的(必须要)
HAL_ADCEx_Calibration_Start(&hadc1); //AD校准
HAL_ADC_Start(&hadc1); //打开ADC
循环的(也必须要)
HAL_ADC_Start(&hadc1);
HAL_ADC_PollForConversion(&hadc1,50);
ADC_value = HAL_ADC_GetValue(&hadc1);//ADC_value为自定义的变量,根据cubemx选择的确定为半字还是全字