stm32f469/stm32f469i-disco/Inc/stm32f4xx_hal_conf.h
Go to the documentation of this file.
1 
36 /* Define to prevent recursive inclusion -------------------------------------*/
37 #ifndef __STM32F4xx_HAL_CONF_H
38 #define __STM32F4xx_HAL_CONF_H
39 
40 #ifdef __cplusplus
41  extern "C" {
42 #endif
43 
44 /* Exported types ------------------------------------------------------------*/
45 /* Exported constants --------------------------------------------------------*/
46 
47 /* ########################## Module Selection ############################## */
51 #define HAL_MODULE_ENABLED
52 #define HAL_DMA_MODULE_ENABLED
53 #define HAL_FLASH_MODULE_ENABLED
54 #define HAL_GPIO_MODULE_ENABLED
55 #define HAL_I2C_MODULE_ENABLED
56 #define HAL_I2S_MODULE_ENABLED
57 #define HAL_LTDC_MODULE_ENABLED
58 #define HAL_DSI_MODULE_ENABLED
59 #define HAL_PWR_MODULE_ENABLED
60 #define HAL_RCC_MODULE_ENABLED
61 #define HAL_SAI_MODULE_ENABLED
62 #define HAL_TIM_MODULE_ENABLED
63 #define HAL_UART_MODULE_ENABLED
64 #define HAL_CORTEX_MODULE_ENABLED
65 
66 
67 /* ########################## HSE/HSI Values adaptation ##################### */
73 #if !defined (HSE_VALUE)
74 #if defined(USE_STM32469I_DISCO_REVA)
75  #define HSE_VALUE (25000000U)
76 #else
77  #define HSE_VALUE (8000000U)
78 #endif /* USE_STM32469I_DISCO_REVA */
79 #endif /* HSE_VALUE */
80 
81 #if !defined (HSE_STARTUP_TIMEOUT)
82  #define HSE_STARTUP_TIMEOUT (100U)
83 #endif /* HSE_STARTUP_TIMEOUT */
84 
90 #if !defined (HSI_VALUE)
91  #define HSI_VALUE (16000000U)
92 #endif /* HSI_VALUE */
93 
97 #if !defined (LSI_VALUE)
98  #define LSI_VALUE (40000U)
99 #endif /* LSI_VALUE */
105 #if !defined (LSE_VALUE)
106  #define LSE_VALUE (32768U)
107 #endif /* LSE_VALUE */
108 
109 #if !defined (LSE_STARTUP_TIMEOUT)
110  #define LSE_STARTUP_TIMEOUT (5000U)
111 #endif /* LSE_STARTUP_TIMEOUT */
112 
118 #if !defined (EXTERNAL_CLOCK_VALUE)
119  #define EXTERNAL_CLOCK_VALUE (12288000U)
120 #endif /* EXTERNAL_CLOCK_VALUE */
121 
122 /* Tip: To avoid modifying this file each time you need to use different HSE,
123  === you can define the HSE value in your toolchain compiler preprocessor. */
124 
125 /* ########################### System Configuration ######################### */
129 #define VDD_VALUE (3300U)
130 #define TICK_INT_PRIORITY (0x0FU)
131 #define USE_RTOS 0
132 #define PREFETCH_ENABLE 1
133 #define INSTRUCTION_CACHE_ENABLE 1
134 #define DATA_CACHE_ENABLE 1U
135 
136 #define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
137 #define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
138 #define USE_HAL_CEC_REGISTER_CALLBACKS 0U /* CEC register callback disabled */
139 #define USE_HAL_CRYP_REGISTER_CALLBACKS 0U /* CRYP register callback disabled */
140 #define USE_HAL_DAC_REGISTER_CALLBACKS 0U /* DAC register callback disabled */
141 #define USE_HAL_DCMI_REGISTER_CALLBACKS 0U /* DCMI register callback disabled */
142 #define USE_HAL_DFSDM_REGISTER_CALLBACKS 0U /* DFSDM register callback disabled */
143 #define USE_HAL_DMA2D_REGISTER_CALLBACKS 0U /* DMA2D register callback disabled */
144 #define USE_HAL_DSI_REGISTER_CALLBACKS 0U /* DSI register callback disabled */
145 #define USE_HAL_ETH_REGISTER_CALLBACKS 0U /* ETH register callback disabled */
146 #define USE_HAL_HASH_REGISTER_CALLBACKS 0U /* HASH register callback disabled */
147 #define USE_HAL_HCD_REGISTER_CALLBACKS 0U /* HCD register callback disabled */
148 #define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
149 #define USE_HAL_FMPI2C_REGISTER_CALLBACKS 0U /* FMPI2C register callback disabled */
150 #define USE_HAL_I2S_REGISTER_CALLBACKS 0U /* I2S register callback disabled */
151 #define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
152 #define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U /* LPTIM register callback disabled */
153 #define USE_HAL_LTDC_REGISTER_CALLBACKS 0U /* LTDC register callback disabled */
154 #define USE_HAL_MMC_REGISTER_CALLBACKS 0U /* MMC register callback disabled */
155 #define USE_HAL_NAND_REGISTER_CALLBACKS 0U /* NAND register callback disabled */
156 #define USE_HAL_NOR_REGISTER_CALLBACKS 0U /* NOR register callback disabled */
157 #define USE_HAL_PCCARD_REGISTER_CALLBACKS 0U /* PCCARD register callback disabled */
158 #define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD register callback disabled */
159 #define USE_HAL_QSPI_REGISTER_CALLBACKS 0U /* QSPI register callback disabled */
160 #define USE_HAL_RNG_REGISTER_CALLBACKS 0U /* RNG register callback disabled */
161 #define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
162 #define USE_HAL_SAI_REGISTER_CALLBACKS 0U /* SAI register callback disabled */
163 #define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
164 #define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
165 #define USE_HAL_SDRAM_REGISTER_CALLBACKS 0U /* SDRAM register callback disabled */
166 #define USE_HAL_SRAM_REGISTER_CALLBACKS 0U /* SRAM register callback disabled */
167 #define USE_HAL_SPDIFRX_REGISTER_CALLBACKS 0U /* SPDIFRX register callback disabled */
168 #define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS register callback disabled */
169 #define USE_HAL_SPI_REGISTER_CALLBACKS 0U /* SPI register callback disabled */
170 #define USE_HAL_TIM_REGISTER_CALLBACKS 0U /* TIM register callback disabled */
171 #define USE_HAL_UART_REGISTER_CALLBACKS 0U /* UART register callback disabled */
172 #define USE_HAL_USART_REGISTER_CALLBACKS 0U /* USART register callback disabled */
173 #define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
174 
175 /* ########################## Assert Selection ############################## */
180 #define USE_FULL_ASSERT 1
181 
182 
183 /* ################## SPI peripheral configuration ########################## */
184 
185 /* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
186 * Activated: CRC code is present inside driver
187 * Deactivated: CRC code cleaned from driver
188 */
189 
190 #define USE_SPI_CRC 1U
191 
192 /* Includes ------------------------------------------------------------------*/
197 #ifdef HAL_RCC_MODULE_ENABLED
198  #include "stm32f4xx_hal_rcc.h"
199 #endif /* HAL_RCC_MODULE_ENABLED */
200 
201 #ifdef HAL_GPIO_MODULE_ENABLED
202  #include "stm32f4xx_hal_gpio.h"
203 #endif /* HAL_GPIO_MODULE_ENABLED */
204 
205 #ifdef HAL_DMA_MODULE_ENABLED
206  #include "stm32f4xx_hal_dma.h"
207 #endif /* HAL_DMA_MODULE_ENABLED */
208 
209 #ifdef HAL_CORTEX_MODULE_ENABLED
210  #include "stm32f4xx_hal_cortex.h"
211 #endif /* HAL_CORTEX_MODULE_ENABLED */
212 
213 #ifdef HAL_ADC_MODULE_ENABLED
214  #include "stm32f4xx_hal_adc.h"
215 #endif /* HAL_ADC_MODULE_ENABLED */
216 
217 #ifdef HAL_CAN_MODULE_ENABLED
218  #include "stm32f4xx_hal_can.h"
219 #endif /* HAL_CAN_MODULE_ENABLED */
220 
221 #ifdef HAL_CAN_LEGACY_MODULE_ENABLED
222  #include "stm32f4xx_hal_can_legacy.h"
223 #endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
224 
225 #ifdef HAL_CRC_MODULE_ENABLED
226  #include "stm32f4xx_hal_crc.h"
227 #endif /* HAL_CRC_MODULE_ENABLED */
228 
229 #ifdef HAL_CRYP_MODULE_ENABLED
230  #include "stm32f4xx_hal_cryp.h"
231 #endif /* HAL_CRYP_MODULE_ENABLED */
232 
233 #ifdef HAL_DMA2D_MODULE_ENABLED
234  #include "stm32f4xx_hal_dma2d.h"
235 #endif /* HAL_DMA2D_MODULE_ENABLED */
236 
237 #ifdef HAL_DAC_MODULE_ENABLED
238  #include "stm32f4xx_hal_dac.h"
239 #endif /* HAL_DAC_MODULE_ENABLED */
240 
241 #ifdef HAL_DCMI_MODULE_ENABLED
242  #include "stm32f4xx_hal_dcmi.h"
243 #endif /* HAL_DCMI_MODULE_ENABLED */
244 
245 
246 #ifdef HAL_FLASH_MODULE_ENABLED
247  #include "stm32f4xx_hal_flash.h"
248 #endif /* HAL_FLASH_MODULE_ENABLED */
249 
250 #ifdef HAL_SRAM_MODULE_ENABLED
251  #include "stm32f4xx_hal_sram.h"
252 #endif /* HAL_SRAM_MODULE_ENABLED */
253 
254 #ifdef HAL_NOR_MODULE_ENABLED
255  #include "stm32f4xx_hal_nor.h"
256 #endif /* HAL_NOR_MODULE_ENABLED */
257 
258 #ifdef HAL_NAND_MODULE_ENABLED
259  #include "stm32f4xx_hal_nand.h"
260 #endif /* HAL_NAND_MODULE_ENABLED */
261 
262 #ifdef HAL_PCCARD_MODULE_ENABLED
263  #include "stm32f4xx_hal_pccard.h"
264 #endif /* HAL_PCCARD_MODULE_ENABLED */
265 
266 #ifdef HAL_SDRAM_MODULE_ENABLED
267  #include "stm32f4xx_hal_sdram.h"
268 #endif /* HAL_SDRAM_MODULE_ENABLED */
269 
270 #ifdef HAL_HASH_MODULE_ENABLED
271  #include "stm32f4xx_hal_hash.h"
272 #endif /* HAL_HASH_MODULE_ENABLED */
273 
274 #ifdef HAL_I2C_MODULE_ENABLED
275  #include "stm32f4xx_hal_i2c.h"
276 #endif /* HAL_I2C_MODULE_ENABLED */
277 
278 #ifdef HAL_I2S_MODULE_ENABLED
279  #include "stm32f4xx_hal_i2s.h"
280 #endif /* HAL_I2S_MODULE_ENABLED */
281 
282 #ifdef HAL_IWDG_MODULE_ENABLED
283  #include "stm32f4xx_hal_iwdg.h"
284 #endif /* HAL_IWDG_MODULE_ENABLED */
285 
286 #ifdef HAL_LTDC_MODULE_ENABLED
287  #include "stm32f4xx_hal_ltdc.h"
288 #endif /* HAL_LTDC_MODULE_ENABLED */
289 
290 #ifdef HAL_PWR_MODULE_ENABLED
291  #include "stm32f4xx_hal_pwr.h"
292 #endif /* HAL_PWR_MODULE_ENABLED */
293 
294 #ifdef HAL_RNG_MODULE_ENABLED
295  #include "stm32f4xx_hal_rng.h"
296 #endif /* HAL_RNG_MODULE_ENABLED */
297 
298 #ifdef HAL_RTC_MODULE_ENABLED
299  #include "stm32f4xx_hal_rtc.h"
300 #endif /* HAL_RTC_MODULE_ENABLED */
301 
302 #ifdef HAL_SAI_MODULE_ENABLED
303  #include "stm32f4xx_hal_sai.h"
304 #endif /* HAL_SAI_MODULE_ENABLED */
305 
306 #ifdef HAL_SD_MODULE_ENABLED
307  #include "stm32f4xx_hal_sd.h"
308 #endif /* HAL_SD_MODULE_ENABLED */
309 
310 #ifdef HAL_SPI_MODULE_ENABLED
311  #include "stm32f4xx_hal_spi.h"
312 #endif /* HAL_SPI_MODULE_ENABLED */
313 
314 #ifdef HAL_TIM_MODULE_ENABLED
315  #include "stm32f4xx_hal_tim.h"
316 #endif /* HAL_TIM_MODULE_ENABLED */
317 
318 #ifdef HAL_UART_MODULE_ENABLED
319  #include "stm32f4xx_hal_uart.h"
320 #endif /* HAL_UART_MODULE_ENABLED */
321 
322 #ifdef HAL_USART_MODULE_ENABLED
323  #include "stm32f4xx_hal_usart.h"
324 #endif /* HAL_USART_MODULE_ENABLED */
325 
326 #ifdef HAL_IRDA_MODULE_ENABLED
327  #include "stm32f4xx_hal_irda.h"
328 #endif /* HAL_IRDA_MODULE_ENABLED */
329 
330 #ifdef HAL_SMARTCARD_MODULE_ENABLED
331  #include "stm32f4xx_hal_smartcard.h"
332 #endif /* HAL_SMARTCARD_MODULE_ENABLED */
333 
334 #ifdef HAL_WWDG_MODULE_ENABLED
335  #include "stm32f4xx_hal_wwdg.h"
336 #endif /* HAL_WWDG_MODULE_ENABLED */
337 
338 #ifdef HAL_PCD_MODULE_ENABLED
339  #include "stm32f4xx_hal_pcd.h"
340 #endif /* HAL_PCD_MODULE_ENABLED */
341 
342 #ifdef HAL_HCD_MODULE_ENABLED
343  #include "stm32f4xx_hal_hcd.h"
344 #endif /* HAL_HCD_MODULE_ENABLED */
345 
346 #ifdef HAL_DSI_MODULE_ENABLED
347  #include "stm32f4xx_hal_dsi.h"
348 #endif /* HAL_DSI_MODULE_ENABLED */
349 
350 #ifdef HAL_QSPI_MODULE_ENABLED
351  #include "stm32f4xx_hal_qspi.h"
352 #endif /* HAL_QSPI_MODULE_ENABLED */
353 
354 
355 /* Exported macro ------------------------------------------------------------*/
356 #ifdef USE_FULL_ASSERT
357 
365  #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
366 /* Exported functions ------------------------------------------------------- */
367  void assert_failed(uint8_t* file, uint32_t line);
368 #else
369  #define assert_param(expr) ((void)0U)
370 #endif /* USE_FULL_ASSERT */
371 
380 #ifdef __cplusplus
381 }
382 #endif
383 
384 #endif /* __STM32F4xx_HAL_CONF_H */
385 
386 
387 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
stm32f4xx_hal_pcd.h
Header file of PCD HAL module.
stm32f4xx_hal_iwdg.h
Header file of IWDG HAL module.
stm32f4xx_hal_sdram.h
Header file of SDRAM HAL module.
stm32f4xx_hal_dcmi.h
Header file of DCMI HAL module.
stm32f4xx_hal_smartcard.h
Header file of SMARTCARD HAL module.
stm32f4xx_hal_uart.h
Header file of UART HAL module.
stm32f4xx_hal_sd.h
Header file of SD HAL module.
assert_failed
void assert_failed(uint8_t *file, uint32_t line)
Definition: pv_st_f407.c:88
stm32f4xx_hal_rtc.h
Header file of RTC HAL module.
stm32f4xx_hal_irda.h
Header file of IRDA HAL module.
stm32f4xx_hal_pccard.h
Header file of PCCARD HAL module.


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:52