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

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

Fixing project.

File size: 1.8 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#include "eeprom_diskio.h" /* defines USER_Driver as external */
33
34extern uint8_t retEEPROM;       /* Return value for USER */
35extern char EEPROMPath[4];      /* USER logical drive path */
36extern FATFS EEPROMFatFS;       /* File system object for USER logical drive */
37extern FIL EEPROMFile;          /* File object for USER */
38
39#define __PLACE_IN_NONCACHABLE_RAM_FOR_DMA_TRANSFERS__ __attribute__((section(".AXI_RAM_4_DMA")))
40
41/* USER CODE END Includes */
42
43extern uint8_t retSD; /* Return value for SD */
44extern char SDPath[4]; /* SD logical drive path */
45extern FATFS SDFatFS; /* File system object for SD logical drive */
46extern FIL SDFile; /* File object for SD */
47
48void MX_FATFS_Init(void);
49
50/* USER CODE BEGIN Prototypes */
51
52/* USER CODE END Prototypes */
53#ifdef __cplusplus
54}
55#endif
56#endif /*__fatfs_H */
Note: See TracBrowser for help on using the repository browser.