text: /**
    ******************************************************************************
    * @file           : fatfs_platform.h
    * @brief          : fatfs_platform header file
    ******************************************************************************
    * @attention
    *
    * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
    * All rights reserved.</center></h2>
    *
    * This software component is licensed by ST under Ultimate Liberty license
    * SLA0044, the "License"; You may not use this file except in compliance with
    * the License. You may obtain a copy of the License at:
    *                             www.st.com/SLA0044
    *
    ******************************************************************************
  */
  /* Includes ------------------------------------------------------------------*/
  #include "stm32f4xx_hal.h"           
  /* Defines ------------------------------------------------------------------*/
  #define SD_PRESENT               ((uint8_t)0x01)  /* also in bsp_driver_sd.h */
  #define SD_NOT_PRESENT           ((uint8_t)0x00)  /* also in bsp_driver_sd.h */
  #define SD_DETECT_PIN         GPIO_PIN_0
  #define SD_DETECT_GPIO_PORT   GPIOA
  /* Prototypes ---------------------------------------------------------------*/
  uint8_t	BSP_PlatformIsDetected(void);
  