source: ctrl/firmware/Main/CubeMX/FATFS/Target/fatfs_platform.h

Last change on this file was 74, checked in by Zed, 3 months ago

FatFs? with DMA were implemented.

File size: 1.2 KB
Line 
1/* USER CODE BEGIN Header */
2/**
3  ******************************************************************************
4  * @file           : fatfs_platform.h
5  * @brief          : fatfs_platform header file
6  ******************************************************************************
7  * @attention
8  *
9  * Copyright (c) 2025 STMicroelectronics.
10  * All rights reserved.
11  *
12  * This software is licensed under terms that can be found in the LICENSE file
13  * in the root directory of this software component.
14  * If no LICENSE file comes with this software, it is provided AS-IS.
15  *
16  ******************************************************************************
17*/
18/* USER CODE END Header */
19/* Includes ------------------------------------------------------------------*/
20#include "stm32h7xx_hal.h"
21/* Defines ------------------------------------------------------------------*/
22#define SD_PRESENT               ((uint8_t)0x01)  /* also in bsp_driver_sd.h */
23#define SD_NOT_PRESENT           ((uint8_t)0x00)  /* also in bsp_driver_sd.h */
24#define SD_DETECT_PIN         GPIO_PIN_8
25#define SD_DETECT_GPIO_PORT   GPIOA
26/* Prototypes ---------------------------------------------------------------*/
27uint8_t BSP_PlatformIsDetected(void);
Note: See TracBrowser for help on using the repository browser.