-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaps512xx_conf_template.h
49 lines (42 loc) · 1.41 KB
/
aps512xx_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
/**
******************************************************************************
* @file aps512xx_conf.h
* @author MCD Application Team
* @brief APS512XX 16bits-OSPI PSRAM memory configuration template file.
* This file should be copied to the application folder and renamed
* to aps512xx_conf.h
******************************************************************************
* @attention
*
* Copyright (c) 2023 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 APS512XX_CONF_H
#define APS512XX_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32xxxx_hal.h"
/** @addtogroup BSP
* @{
*/
#define CONF_HSPI_DS APS512XX_MR0_DS_HALF
#define CONF_HSPI_PASR APS512XX_MR4_PASR_FULL
#define CONF_HSPI_RF APS512XX_MR4_RF_4X
#define DEFAULT_READ_LATENCY_CODE APS512XX_READ_LATENCY_5
#define DEFAULT_WRITE_LATENCY_CODE APS512XX_WRITE_LATENCY_5
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* APS512XX_CONF_H */