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>© 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 22 /* Define to prevent recursive inclusion -------------------------------------*/ 23 #ifndef MX25LM51245G_CONF_H 24 #define MX25LM51245G_CONF_H 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif 29 30 /* Includes ------------------------------------------------------------------*/ 31 #include "stm32l5xx_hal.h" 32 33 /** @addtogroup BSP 34 * @{ 35 */ 36 #define CONF_OSPI_ODS MX25LM51245G_CR_ODS_24 /* MX25LM51245G Output Driver Strength */ 37 38 #define DUMMY_CYCLES_READ 8U 39 #define DUMMY_CYCLES_READ_OCTAL 6U 40 #define DUMMY_CYCLES_READ_OCTAL_DTR 6U 41 #define DUMMY_CYCLES_REG_OCTAL 4U 42 #define DUMMY_CYCLES_REG_OCTAL_DTR 5U 43 44 /** 45 * @} 46 */ 47 48 #ifdef __cplusplus 49 } 50 #endif 51 52 #endif /* MX25LM51245G_CONF_H */ 53 54 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 55