diff options
author | Karel Gardas <karel@functional.vision> | 2022-06-10 13:50:16 +0200 |
---|---|---|
committer | Karel Gardas <karel@functional.vision> | 2023-02-05 20:42:24 +0100 |
commit | f9169dca69f77b479116956014680c0d54e06a3a (patch) | |
tree | 0f3c0b33e2e0d65f21cb9936f5e475b237e771e1 /bsps/arm/stm32h7/boards/stm/Components/mt25tl01g/mt25tl01g_conf.h | |
parent | libmisc/shell/edit: Return if no memory in move_gap (diff) | |
download | rtems-f9169dca69f77b479116956014680c0d54e06a3a.tar.bz2 |
bsps/stm32h7: import MT25TL01G QSPI memory low-level driver
Diffstat (limited to '')
-rw-r--r-- | bsps/arm/stm32h7/boards/stm/Components/mt25tl01g/mt25tl01g_conf.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/bsps/arm/stm32h7/boards/stm/Components/mt25tl01g/mt25tl01g_conf.h b/bsps/arm/stm32h7/boards/stm/Components/mt25tl01g/mt25tl01g_conf.h new file mode 100644 index 0000000000..77479f8b12 --- /dev/null +++ b/bsps/arm/stm32h7/boards/stm/Components/mt25tl01g/mt25tl01g_conf.h @@ -0,0 +1,68 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/** + ****************************************************************************** + * @file mt25tl01g_conf_template.h + * @author MCD Application Team + * @brief This file contains all the description of the + * MT25TL01G QSPI memory. + ****************************************************************************** + * @attention + * + * <h2><center>© Copyright (c) 2019 STMicroelectronics. + * All rights reserved.</center></h2> + * + * This software component is licensed by ST under BSD 3-Clause license, + * the "License"; You may not use this file except in compliance with the + * License. You may obtain a copy of the License at: + * opensource.org/licenses/BSD-3-Clause + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +#ifndef MT25TL01G_CONF_H +#define MT25TL01G_CONF_H + +#ifdef __cplusplus + extern "C" { +#endif + +/* Includes ------------------------------------------------------------------*/ +#include "stm32h7xx.h" +#include "stm32h7xx_hal.h" + +/** @addtogroup BSP + * @{ + */ + +#define CONF_MT25TL01G_READ_ENHANCE 0 /* MMP performance enhance reade enable/disable */ + +#define CONF_QSPI_ODS MT25TL01G_CR_ODS_15 + +#define CONF_QSPI_DUMMY_CLOCK 8U + +/* Dummy cycles for STR read mode */ +#define MT25TL01G_DUMMY_CYCLES_READ_QUAD 8U +#define MT25TL01G_DUMMY_CYCLES_READ 8U +/* Dummy cycles for DTR read mode */ +#define MT25TL01G_DUMMY_CYCLES_READ_DTR 6U +#define MT25TL01G_DUMMY_CYCLES_READ_QUAD_DTR 8U + +#ifdef __cplusplus +} +#endif + +#endif /* MT25TL01G_CONF_H */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |