/* PCD MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_PCD_MspDeInit(PCD_HandleTypeDef *hpcd)
/* PCD MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_PCD_MspDeInit(PCD_HandleTypeDef *hpcd)
{
  if(hpcd->Instance==USB_OTG_FS)
  {
    __HAL_RCC_USB_OTG_FS_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOA, GPIO_PIN_12|GPIO_PIN_11);
    HAL_NVIC_DisableIRQ(OTG_FS_EP1_OUT_IRQn);
    HAL_NVIC_DisableIRQ(OTG_FS_EP1_IN_IRQn);
  }
}