/* DAC MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac)
/* DAC MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac)
{
  if(hdac->Instance==DAC1)
  {
    __HAL_RCC_DAC12_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOA, GPIO_PIN_4);
  }
}