/* ADC MSP Initialization This function configures the hardware resources used in this example.  */
void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc)
/* ADC MSP Initialization This function configures the hardware resources used in this example.  */
void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc)
{
  if(hadc->Instance==ADC1)
  {
    __HAL_RCC_ADC1_CLK_ENABLE();
  }
}