mx25lm51245g_conf_template.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. ******************************************************************************
  3. * @file mx25lm51245g_conf.h
  4. * @author MCD Application Team
  5. * @brief MX25LM51245G OctoSPI memory configuration template file.
  6. * This file should be copied to the application folder and renamed
  7. * to mx25lm51245g_conf.h
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * <h2><center>&copy; Copyright (c) 2018 STMicroelectronics.
  12. * All rights reserved.</center></h2>
  13. *
  14. * This software component is licensed by ST under BSD 3-Clause license,
  15. * the "License"; You may not use this file except in compliance with the
  16. * License. You may obtain a copy of the License at:
  17. * opensource.org/licenses/BSD-3-Clause
  18. *
  19. ******************************************************************************
  20. */
  21. /* Define to prevent recursive inclusion -------------------------------------*/
  22. #ifndef MX25LM51245G_CONF_H
  23. #define MX25LM51245G_CONF_H
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. /* Includes ------------------------------------------------------------------*/
  28. #include "stm32xxxx_hal.h"
  29. /** @addtogroup BSP
  30. * @{
  31. */
  32. #define CONF_OSPI_ODS MX25LM51245G_CR_ODS_24 /* MX25LM51245G Output Driver Strength */
  33. #define DUMMY_CYCLES_READ 8U
  34. #define DUMMY_CYCLES_READ_OCTAL 6U
  35. #define DUMMY_CYCLES_READ_OCTAL_DTR 6U
  36. #define DUMMY_CYCLES_REG_OCTAL 4U
  37. #define DUMMY_CYCLES_REG_OCTAL_DTR 5U
  38. /**
  39. * @}
  40. */
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. #endif /* MX25LM51245G_CONF_H */
  45. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/