s25fl128s_conf_template.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /**
  2. ******************************************************************************
  3. * @file s25fl128s_conf_template.h
  4. * @author MCD Application Team
  5. * @brief This file contains the configurations of the S25FL128S QSPI memory.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * Copyright (c) 2021 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. /* Define to prevent recursive inclusion -------------------------------------*/
  19. #ifndef S25FL128S_CONF_H
  20. #define S25FL128S_CONF_H
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. /* Includes ------------------------------------------------------------------*/
  25. #include "stm32xxxx_hal.h"
  26. /** @addtogroup BSP
  27. * @{
  28. */
  29. /** @addtogroup Components
  30. * @{
  31. */
  32. /** @addtogroup S25FL128S
  33. * @brief This file provides a set of definitions for the Spansion
  34. * S25FL128S memory configuration.
  35. * @{
  36. */
  37. /** @addtogroup S25FL128S_Exported_Constants
  38. * @{
  39. */
  40. #define CONF_S25FL128S_READ_ENHANCE 0 /* MMP performance enhance read enable/disable */
  41. #define CONF_QSPI_DUMMY_CLOCK 8U
  42. /* Dummy cycles for STR read mode */
  43. #define S25FL128S_DUMMY_CYCLES_READ_QUAD 8U
  44. #define S25FL128S_DUMMY_CYCLES_READ 8U
  45. #define S25FL128S_DUMMY_CYCLES_READ_DUAL_INOUT 4U
  46. #define S25FL128S_DUMMY_CYCLES_READ_QUAD_INOUT 6U
  47. /**
  48. * @}
  49. */
  50. /**
  51. * @}
  52. */
  53. /**
  54. * @}
  55. */
  56. /**
  57. * @}
  58. */
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62. #endif /* S25FL128S_CONF_H */