/* 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)
{
  ADCx_FORCE_RESET();
  ADCx_RELEASE_RESET();
  HAL_GPIO_DeInit(ADCx_CHANNEL_GPIO_PORT, ADCx_CHANNEL_PIN);
}