/* SD MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_SD_MspDeInit(SD_HandleTypeDef *hsd)
/* SD MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_SD_MspDeInit(SD_HandleTypeDef *hsd)
{
  if(hsd->Instance==SDIO)
  {
    __HAL_RCC_SDIO_CLK_DISABLE();
    HAL_GPIO_DeInit(GPIOC, GPIO_PIN_8|GPIO_PIN_9|GPIO_PIN_10|GPIO_PIN_11
                          |GPIO_PIN_12);
    HAL_GPIO_DeInit(GPIOD, GPIO_PIN_2);
  }
}