Rev | Line | |
---|
[1] | 1 | /**
|
---|
| 2 | ******************************************************************************
|
---|
| 3 | * @file fatfs.h
|
---|
| 4 | * @brief Header for fatfs applications
|
---|
| 5 | ******************************************************************************
|
---|
| 6 | * @attention
|
---|
| 7 | *
|
---|
| 8 | * <h2><center>© Copyright (c) 2021 STMicroelectronics.
|
---|
| 9 | * All rights reserved.</center></h2>
|
---|
| 10 | *
|
---|
| 11 | * This software component is licensed by ST under Ultimate Liberty license
|
---|
| 12 | * SLA0044, the "License"; You may not use this file except in compliance with
|
---|
| 13 | * the License. You may obtain a copy of the License at:
|
---|
| 14 | * www.st.com/SLA0044
|
---|
| 15 | *
|
---|
| 16 | ******************************************************************************
|
---|
| 17 | */
|
---|
| 18 |
|
---|
| 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 "user_diskio.h" /* defines USER_Driver as external */
|
---|
| 29 |
|
---|
| 30 | /* USER CODE BEGIN Includes */
|
---|
| 31 |
|
---|
| 32 | /* USER CODE END Includes */
|
---|
| 33 |
|
---|
| 34 | extern uint8_t retUSER; /* Return value for USER */
|
---|
| 35 | extern char USERPath[4]; /* USER logical drive path */
|
---|
| 36 | extern FATFS USERFatFS; /* File system object for USER logical drive */
|
---|
| 37 | extern FIL USERFile; /* File object for USER */
|
---|
| 38 |
|
---|
| 39 | void 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 */
|
---|
| 48 |
|
---|
| 49 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.