ref: 21f5ac6f65245a6d5f1b63b0f1a38d4001f1d5dc
dir: /LEAF/Inc/fatfs_platform.h/
/** ****************************************************************************** * @file : fatfs_platform.h * @brief : fatfs_platform header file ****************************************************************************** * @attention * * <h2><center>© 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 "stm32h7xx_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_13 #define SD_DETECT_GPIO_PORT GPIOC /* Prototypes ---------------------------------------------------------------*/ uint8_t BSP_PlatformIsDetected(void);