source: ctrl/firmware/Main/CubeMX/FATFS/App/fatfs.h @ 74

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

FatFs? with DMA were implemented.

File size: 1.4 KB
Line 
1/* USER CODE BEGIN Header */
2/**
3  ******************************************************************************
4  * @file   fatfs.h
5  * @brief  Header for fatfs applications
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/* Define to prevent recursive inclusion -------------------------------------*/
20#ifndef __fatfs_H
21#define __fatfs_H
22#ifdef __cplusplus
23 extern "C" {
24#endif
25
26#include "ff.h"
27#include "ff_gen_drv.h"
28#include "sd_diskio.h" /* defines SD_Driver as external */
29
30/* USER CODE BEGIN Includes */
31
32/* USER CODE END Includes */
33
34extern uint8_t retSD; /* Return value for SD */
35extern char SDPath[4]; /* SD logical drive path */
36extern FATFS SDFatFS; /* File system object for SD logical drive */
37extern FIL SDFile; /* File object for SD */
38
39void MX_FATFS_Init(void);
40
41/* USER CODE BEGIN Prototypes */
42
43/* USER CODE END Prototypes */
44#ifdef __cplusplus
45}
46#endif
47#endif /*__fatfs_H */
Note: See TracBrowser for help on using the repository browser.