You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fatfs.h 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /**
  2. ******************************************************************************
  3. * @file fatfs.h
  4. * @brief Header for fatfs applications
  5. ******************************************************************************
  6. * @attention
  7. *
  8. * <h2><center>&copy; 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. /* Define to prevent recursive inclusion -------------------------------------*/
  19. #ifndef __fatfs_H
  20. #define __fatfs_H
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. #include "ff.h"
  25. #include "ff_gen_drv.h"
  26. #include "user_diskio.h" /* defines USER_Driver as external */
  27. /* USER CODE BEGIN Includes */
  28. /* USER CODE END Includes */
  29. extern uint8_t retUSER; /* Return value for USER */
  30. extern char USERPath[4]; /* USER logical drive path */
  31. extern FATFS USERFatFS; /* File system object for USER logical drive */
  32. extern FIL USERFile; /* File object for USER */
  33. void MX_FATFS_Init(void);
  34. /* USER CODE BEGIN Prototypes */
  35. /* USER CODE END Prototypes */
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif /*__fatfs_H */
  40. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/