/* 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==SDMMC1)
  {
    __HAL_RCC_SDMMC1_CLK_DISABLE();
    HAL_GPIO_DeInit(uSD_CMD_GPIO_Port, uSD_CMD_Pin);
    HAL_GPIO_DeInit(GPIOC, uSD_D2_Pin|uSD_D3_Pin|uSD_CLK_Pin|uSD_D1_Pin
                          |uSD_D0_Pin);
  }
}