/* ADC MSP De-Initialization This function frees the hardware resources used in this example:  */
void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc)
/* ADC MSP De-Initialization This function frees the hardware resources used in this example:  */
void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc)
{
  static DMA_HandleTypeDef  hdma_adc;
  ADCxy_FORCE_RESET();
  ADCxy_RELEASE_RESET();
  HAL_GPIO_DeInit(ADCxy_CHANNEL_GPIO_PORT, ADCxy_CHANNEL_PIN);
  HAL_DMA_DeInit(&hdma_adc);
  HAL_NVIC_DisableIRQ(ADCxy_DMA_IRQn);
}