user_diskio.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* USER CODE BEGIN Header */
  2. /**
  3. ******************************************************************************
  4. * @file user_diskio.h
  5. * @brief This file contains the common defines and functions prototypes for
  6. * the user_diskio driver.
  7. ******************************************************************************
  8. * @attention
  9. *
  10. * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
  11. * All rights reserved.</center></h2>
  12. *
  13. * This software component is licensed by ST under Ultimate Liberty license
  14. * SLA0044, the "License"; You may not use this file except in compliance with
  15. * the License. You may obtain a copy of the License at:
  16. * www.st.com/SLA0044
  17. *
  18. ******************************************************************************
  19. */
  20. /* USER CODE END Header */
  21. /* Define to prevent recursive inclusion -------------------------------------*/
  22. #ifndef __USER_DISKIO_H
  23. #define __USER_DISKIO_H
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. /* USER CODE BEGIN 0 */
  28. /* Includes ------------------------------------------------------------------*/
  29. #include "stm32_adafruit_sd.h"
  30. #include "fatfs/ff_gen_drv.h"
  31. /* Exported types ------------------------------------------------------------*/
  32. /* Exported constants --------------------------------------------------------*/
  33. /* Exported functions ------------------------------------------------------- */
  34. extern Diskio_drvTypeDef USER_Driver;
  35. /* USER CODE END 0 */
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif /* __USER_DISKIO_H */
  40. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/