-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstm32u575i_eval_conf_template.h
128 lines (97 loc) · 3.65 KB
/
stm32u575i_eval_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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/**
******************************************************************************
* @file stm32u575i_eval_conf_template.h
* @author MCD Application Team
* @brief STM32U575I_EVAL board configuration file.
* This file should be copied to the application folder and renamed
* to stm32u575i_eval_conf.h
******************************************************************************
* @attention
*
* Copyright (c) 2021 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 STM32U575I_EVAL_CONF_H
#define STM32U575I_EVAL_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32u5xx_hal.h"
/** @addtogroup BSP
* @{
*/
/** @addtogroup STM32U575I_EVAL
* @{
*/
/** @defgroup STM32U575I_EVAL_CONFIG Config
* @{
*/
/** @defgroup STM32U575I_EVAL_CONFIG_Exported_Constants Exported Constants
* @{
*/
/* Usage of COM feature */
#define USE_BSP_COM_FEATURE 0U
#define USE_COM_LOG 0U
/* Usage of POT feature */
#define USE_BSP_POT_FEATURE 0U
/* Usage of IO expander */
#define USE_BSP_IO_CLASS 0U
/* TS defines */
#define USE_BSP_TS_MFX 1U /* MFX TS Controller */
#define USE_BSP_TS_SX 0U /* SX TS Controller */
#define TS_TOUCH_NBR 1U
/* Default EEPROM max trials */
#define EEPROM_MAX_TRIALS 3000U
/* Button interrupt priorities */
#define BSP_BUTTON_TAMPER_IT_PRIORITY 15U /* Default is lowest priority level */
#define BSP_BUTTON_USER_IT_PRIORITY 15U /* Default is lowest priority level */
/* Joystick interrupt priority */
#define BSP_JOY1_IT_PRIORITY 15U /* Default is lowest priority level */
/* IOExpander interrupt priority */
#define BSP_IOEXPANDER_IT_PRIORITY 15U /* Default is lowest priority level */
/* CAMERA interrupt priority */
#define BSP_CAMERA_IT_PRIORITY 15U /* Default is lowest priority level */
/* Touch screen interrupt priority */
#define BSP_TS_IT_PRIORITY 15U /* Default is lowest priority level */
/* Audio interrupt priorities */
#define BSP_AUDIO_IN_IT_PRIORITY 15U /* Default is lowest priority level */
#define BSP_AUDIO_OUT_IT_PRIORITY 15U /* Default is lowest priority level */
/* SD card interrupt priority */
#define BSP_SD_IT_PRIORITY 15U /* Default is lowest priority level */
#define BSP_SD_RX_IT_PRIORITY 14U /* Default is lowest priority level */
#define BSP_SD_TX_IT_PRIORITY 15U /* Default is lowest priority level */
/* SRAM DMA interrupt priority */
#define BSP_SRAM_DMA_IT_PRIORITY 15U /* Default is lowest priority level */
/* OSPI RAM interrupt priority */
#define BSP_OSPI_RAM_IT_PRIORITY 15U /* Default is lowest priority level */
#define BSP_OSPI_RAM_DMA_IT_PRIORITY 15U /* Default is lowest priority level */
/* Bus frequencies */
#define BUS_I2C2_FREQUENCY 400000U /* Frequency of I2C2 = 400 KHz*/
/* Default AUDIO IN internal buffer size in 32-bit words per micro */
#define BSP_AUDIO_IN_DEFAULT_BUFFER_SIZE 2048UL /* 2048*4 = 8Kbytes */
/* Usage of USBPD PWR TRACE system */
#define USE_BSP_USBPD_PWR_TRACE 0U /* USBPD BSP trace system is disabled */
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* STM32U575I_EVAL_CONF_H */