cueOS  2.4
cueOS - Universal Show Control OS for ARM
fatfs_platform.c
Go to the documentation of this file.
1
18#include "fatfs_platform.h"
19
20uint8_t BSP_PlatformIsDetected(void) {
21 uint8_t status = SD_PRESENT;
22 /* Check SD card detect pin */
23 if(HAL_GPIO_ReadPin(SD_DETECT_GPIO_PORT, SD_DETECT_PIN) != GPIO_PIN_RESET)
24 {
25 status = SD_NOT_PRESENT;
26 }
27 /* USER CODE BEGIN 1 */
28 /* user code can be inserted here */
29 /* USER CODE END 1 */
30 return status;
31}
: fatfs_platform header file