-
Notifications
You must be signed in to change notification settings - Fork 0
/
mx25uw25645g_conf_template.h
51 lines (43 loc) · 1.47 KB
/
mx25uw25645g_conf_template.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
******************************************************************************
* @file mx25uw25645g_conf.h
* @author MCD Application Team
* @brief MX25UW25645G OctoSPI memory configuration template file.
* This file should be copied to the application folder and renamed
* to mx25uw25645g_conf.h
******************************************************************************
* @attention
*
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef MX25UW25645G_CONF_H
#define MX25UW25645G_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32xxxx_hal.h"
/** @addtogroup BSP
* @{
*/
#define CONF_OSPI_ODS MX25UW25645G_CR_ODS_24 /* MX25UW25645G Output Driver Strength */
#define DUMMY_CYCLES_READ 8U
#define DUMMY_CYCLES_READ_OCTAL 6U
#define DUMMY_CYCLES_READ_OCTAL_DTR 6U
#define DUMMY_CYCLES_REG_OCTAL 4U
#define DUMMY_CYCLES_REG_OCTAL_DTR 4U
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* MX25UW25645G_CONF_H */