stm32h747/stm32h747i-disco/CM7/Inc/stm32h7xx_hal_conf.h
Go to the documentation of this file.
1 
20 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef __STM32H7xx_HAL_CONF_H
22 #define __STM32H7xx_HAL_CONF_H
23 
24 #ifdef __cplusplus
25  extern "C" {
26 #endif
27 
28 /* Exported types ------------------------------------------------------------*/
29 /* Exported constants --------------------------------------------------------*/
30 
31 /* ########################## Module Selection ############################## */
35 #define HAL_MODULE_ENABLED
36 #define HAL_CORTEX_MODULE_ENABLED
37 #define HAL_DMA_MODULE_ENABLED
38 #define HAL_DSI_MODULE_ENABLED
39 #define HAL_GPIO_MODULE_ENABLED
40 #define HAL_HSEM_MODULE_ENABLED
41 #define HAL_I2C_MODULE_ENABLED
42 #define HAL_PWR_MODULE_ENABLED
43 #define HAL_EXTI_MODULE_ENABLED
44 #define HAL_FLASH_MODULE_ENABLED
45 #define HAL_RCC_MODULE_ENABLED
46 #define HAL_SAI_MODULE_ENABLED
47 #define HAL_TIM_MODULE_ENABLED
48 #define HAL_UART_MODULE_ENABLED
49 
50 /* ########################## Oscillator Values adaptation ####################*/
56 #if !defined (HSE_VALUE)
57 #define HSE_VALUE ((uint32_t)25000000)
58 #endif /* HSE_VALUE */
59 
60 #if !defined (HSE_STARTUP_TIMEOUT)
61  #define HSE_STARTUP_TIMEOUT ((uint32_t)5000)
62 #endif /* HSE_STARTUP_TIMEOUT */
63 
68 #if !defined (CSI_VALUE)
69  #define CSI_VALUE ((uint32_t)4000000)
70 #endif /* CSI_VALUE */
71 
77 #if !defined (HSI_VALUE)
78  #define HSI_VALUE ((uint32_t)64000000)
79 #endif /* HSI_VALUE */
80 
85 #if !defined (LSE_VALUE)
86  #define LSE_VALUE ((uint32_t)32768)
87 #endif /* LSE_VALUE */
88 
89 
90 #if !defined (LSE_STARTUP_TIMEOUT)
91  #define LSE_STARTUP_TIMEOUT ((uint32_t)5000)
92 #endif /* LSE_STARTUP_TIMEOUT */
93 
94 #if !defined (LSI_VALUE)
95  #define LSI_VALUE ((uint32_t)32000)
96 #endif /* LSI_VALUE */
105 #if !defined (EXTERNAL_CLOCK_VALUE)
106  #define EXTERNAL_CLOCK_VALUE 12288000U
107 #endif /* EXTERNAL_CLOCK_VALUE */
108 
109 /* Tip: To avoid modifying this file each time you need to use different HSE,
110  === you can define the HSE value in your toolchain compiler preprocessor. */
111 
112 /* ########################### System Configuration ######################### */
116 #define VDD_VALUE ((uint32_t)3300)
117 #define TICK_INT_PRIORITY ((uint32_t)0x0F)
118 #define USE_RTOS 0
119 /*#define USE_SD_TRANSCEIVER 0U */
121 /* ########################### Ethernet Configuration ######################### */
122 #define ETH_TX_DESC_CNT 4 /* number of Ethernet Tx DMA descriptors */
123 #define ETH_RX_DESC_CNT 4 /* number of Ethernet Rx DMA descriptors */
124 
125 #define ETH_MAC_ADDR0 ((uint8_t)0x02)
126 #define ETH_MAC_ADDR1 ((uint8_t)0x00)
127 #define ETH_MAC_ADDR2 ((uint8_t)0x00)
128 #define ETH_MAC_ADDR3 ((uint8_t)0x00)
129 #define ETH_MAC_ADDR4 ((uint8_t)0x00)
130 #define ETH_MAC_ADDR5 ((uint8_t)0x00)
131 
132 /*#define USE_HAL_UART_REGISTER_CALLBACKS 1U*/
133 //#define USE_HAL_SAI_REGISTER_CALLBACKS 1U
134 /*#define USE_HAL_I2C_REGISTER_CALLBACKS 1U*/
135 
136 /* ########################## Assert Selection ############################## */
141 /* #define USE_FULL_ASSERT 1 */
142 
143 
144 /* Includes ------------------------------------------------------------------*/
149 #ifdef HAL_RCC_MODULE_ENABLED
150  #include "stm32h7xx_hal_rcc.h"
151 #endif /* HAL_RCC_MODULE_ENABLED */
152 
153 #ifdef HAL_GPIO_MODULE_ENABLED
154  #include "stm32h7xx_hal_gpio.h"
155 #endif /* HAL_GPIO_MODULE_ENABLED */
156 
157 #ifdef HAL_DMA_MODULE_ENABLED
158  #include "stm32h7xx_hal_dma.h"
159 #endif /* HAL_DMA_MODULE_ENABLED */
160 
161 #ifdef HAL_MDMA_MODULE_ENABLED
162  #include "stm32h7xx_hal_mdma.h"
163 #endif /* HAL_MDMA_MODULE_ENABLED */
164 
165 #ifdef HAL_HASH_MODULE_ENABLED
166  #include "stm32h7xx_hal_hash.h"
167 #endif /* HAL_HASH_MODULE_ENABLED */
168 
169 #ifdef HAL_DCMI_MODULE_ENABLED
170  #include "stm32h7xx_hal_dcmi.h"
171 #endif /* HAL_DCMI_MODULE_ENABLED */
172 
173 #ifdef HAL_DMA2D_MODULE_ENABLED
174  #include "stm32h7xx_hal_dma2d.h"
175 #endif /* HAL_DMA2D_MODULE_ENABLED */
176 
177 #ifdef HAL_DSI_MODULE_ENABLED
178  #include "stm32h7xx_hal_dsi.h"
179 #endif /* HAL_DSI_MODULE_ENABLED */
180 
181 #ifdef HAL_DFSDM_MODULE_ENABLED
182  #include "stm32h7xx_hal_dfsdm.h"
183 #endif /* HAL_DFSDM_MODULE_ENABLED */
184 
185 #ifdef HAL_ETH_MODULE_ENABLED
186  #include "stm32h7xx_hal_eth.h"
187 #endif /* HAL_ETH_MODULE_ENABLED */
188 
189 #ifdef HAL_EXTI_MODULE_ENABLED
190  #include "stm32h7xx_hal_exti.h"
191 #endif /* HAL_EXTI_MODULE_ENABLED */
192 
193 #ifdef HAL_CORTEX_MODULE_ENABLED
194  #include "stm32h7xx_hal_cortex.h"
195 #endif /* HAL_CORTEX_MODULE_ENABLED */
196 
197 #ifdef HAL_ADC_MODULE_ENABLED
198  #include "stm32h7xx_hal_adc.h"
199 #endif /* HAL_ADC_MODULE_ENABLED */
200 
201 #ifdef HAL_FDCAN_MODULE_ENABLED
202  #include "stm32h7xx_hal_fdcan.h"
203 #endif /* HAL_FDCAN_MODULE_ENABLED */
204 
205 #ifdef HAL_CEC_MODULE_ENABLED
206  #include "stm32h7xx_hal_cec.h"
207 #endif /* HAL_CEC_MODULE_ENABLED */
208 
209 #ifdef HAL_COMP_MODULE_ENABLED
210  #include "stm32h7xx_hal_comp.h"
211 #endif /* HAL_COMP_MODULE_ENABLED */
212 
213 #ifdef HAL_CRC_MODULE_ENABLED
214  #include "stm32h7xx_hal_crc.h"
215 #endif /* HAL_CRC_MODULE_ENABLED */
216 
217 #ifdef HAL_CRYP_MODULE_ENABLED
218  #include "stm32h7xx_hal_cryp.h"
219 #endif /* HAL_CRYP_MODULE_ENABLED */
220 
221 #ifdef HAL_DAC_MODULE_ENABLED
222  #include "stm32h7xx_hal_dac.h"
223 #endif /* HAL_DAC_MODULE_ENABLED */
224 
225 #ifdef HAL_FLASH_MODULE_ENABLED
226  #include "stm32h7xx_hal_flash.h"
227 #endif /* HAL_FLASH_MODULE_ENABLED */
228 
229 #ifdef HAL_HRTIM_MODULE_ENABLED
230  #include "stm32h7xx_hal_hrtim.h"
231 #endif /* HAL_HRTIM_MODULE_ENABLED */
232 
233 #ifdef HAL_HSEM_MODULE_ENABLED
234  #include "stm32h7xx_hal_hsem.h"
235 #endif /* HAL_HSEM_MODULE_ENABLED */
236 
237 #ifdef HAL_SRAM_MODULE_ENABLED
238  #include "stm32h7xx_hal_sram.h"
239 #endif /* HAL_SRAM_MODULE_ENABLED */
240 
241 #ifdef HAL_NOR_MODULE_ENABLED
242  #include "stm32h7xx_hal_nor.h"
243 #endif /* HAL_NOR_MODULE_ENABLED */
244 
245 #ifdef HAL_NAND_MODULE_ENABLED
246  #include "stm32h7xx_hal_nand.h"
247 #endif /* HAL_NAND_MODULE_ENABLED */
248 
249 #ifdef HAL_I2C_MODULE_ENABLED
250  #include "stm32h7xx_hal_i2c.h"
251 #endif /* HAL_I2C_MODULE_ENABLED */
252 
253 #ifdef HAL_I2S_MODULE_ENABLED
254  #include "stm32h7xx_hal_i2s.h"
255 #endif /* HAL_I2S_MODULE_ENABLED */
256 
257 #ifdef HAL_IWDG_MODULE_ENABLED
258  #include "stm32h7xx_hal_iwdg.h"
259 #endif /* HAL_IWDG_MODULE_ENABLED */
260 
261 #ifdef HAL_JPEG_MODULE_ENABLED
262  #include "stm32h7xx_hal_jpeg.h"
263 #endif /* HAL_JPEG_MODULE_ENABLED */
264 
265 #ifdef HAL_MDIOS_MODULE_ENABLED
266  #include "stm32h7xx_hal_mdios.h"
267 #endif /* HAL_MDIOS_MODULE_ENABLED */
268 
269 
270 #ifdef HAL_MMC_MODULE_ENABLED
271  #include "stm32h7xx_hal_mmc.h"
272 #endif /* HAL_MMC_MODULE_ENABLED */
273 
274 #ifdef HAL_LPTIM_MODULE_ENABLED
275 #include "stm32h7xx_hal_lptim.h"
276 #endif /* HAL_LPTIM_MODULE_ENABLED */
277 
278 #ifdef HAL_LTDC_MODULE_ENABLED
279 #include "stm32h7xx_hal_ltdc.h"
280 #endif /* HAL_LTDC_MODULE_ENABLED */
281 
282 #ifdef HAL_OPAMP_MODULE_ENABLED
283 #include "stm32h7xx_hal_opamp.h"
284 #endif /* HAL_OPAMP_MODULE_ENABLED */
285 
286 #ifdef HAL_PWR_MODULE_ENABLED
287  #include "stm32h7xx_hal_pwr.h"
288 #endif /* HAL_PWR_MODULE_ENABLED */
289 
290 #ifdef HAL_QSPI_MODULE_ENABLED
291  #include "stm32h7xx_hal_qspi.h"
292 #endif /* HAL_QSPI_MODULE_ENABLED */
293 
294 #ifdef HAL_RAMECC_MODULE_ENABLED
295  #include "stm32h7xx_hal_ramecc.h"
296 #endif /* HAL_HCD_MODULE_ENABLED */
297 
298 #ifdef HAL_RNG_MODULE_ENABLED
299  #include "stm32h7xx_hal_rng.h"
300 #endif /* HAL_RNG_MODULE_ENABLED */
301 
302 #ifdef HAL_RTC_MODULE_ENABLED
303  #include "stm32h7xx_hal_rtc.h"
304 #endif /* HAL_RTC_MODULE_ENABLED */
305 
306 #ifdef HAL_SAI_MODULE_ENABLED
307  #include "stm32h7xx_hal_sai.h"
308 #endif /* HAL_SAI_MODULE_ENABLED */
309 
310 #ifdef HAL_SD_MODULE_ENABLED
311  #include "stm32h7xx_hal_sd.h"
312 #endif /* HAL_SD_MODULE_ENABLED */
313 
314 #ifdef HAL_SDRAM_MODULE_ENABLED
315  #include "stm32h7xx_hal_sdram.h"
316 #endif /* HAL_SDRAM_MODULE_ENABLED */
317 
318 #ifdef HAL_SPI_MODULE_ENABLED
319  #include "stm32h7xx_hal_spi.h"
320 #endif /* HAL_SPI_MODULE_ENABLED */
321 
322 #ifdef HAL_SPDIFRX_MODULE_ENABLED
323  #include "stm32h7xx_hal_spdifrx.h"
324 #endif /* HAL_SPDIFRX_MODULE_ENABLED */
325 
326 #ifdef HAL_SWPMI_MODULE_ENABLED
327  #include "stm32h7xx_hal_swpmi.h"
328 #endif /* HAL_SWPMI_MODULE_ENABLED */
329 
330 #ifdef HAL_TIM_MODULE_ENABLED
331  #include "stm32h7xx_hal_tim.h"
332 #endif /* HAL_TIM_MODULE_ENABLED */
333 
334 #ifdef HAL_UART_MODULE_ENABLED
335  #include "stm32h7xx_hal_uart.h"
336 #endif /* HAL_UART_MODULE_ENABLED */
337 
338 #ifdef HAL_USART_MODULE_ENABLED
339  #include "stm32h7xx_hal_usart.h"
340 #endif /* HAL_USART_MODULE_ENABLED */
341 
342 #ifdef HAL_IRDA_MODULE_ENABLED
343  #include "stm32h7xx_hal_irda.h"
344 #endif /* HAL_IRDA_MODULE_ENABLED */
345 
346 #ifdef HAL_SMARTCARD_MODULE_ENABLED
347  #include "stm32h7xx_hal_smartcard.h"
348 #endif /* HAL_SMARTCARD_MODULE_ENABLED */
349 
350 #ifdef HAL_SMBUS_MODULE_ENABLED
351  #include "stm32h7xx_hal_smbus.h"
352 #endif /* HAL_SMBUS_MODULE_ENABLED */
353 
354 #ifdef HAL_WWDG_MODULE_ENABLED
355  #include "stm32h7xx_hal_wwdg.h"
356 #endif /* HAL_WWDG_MODULE_ENABLED */
357 
358 #ifdef HAL_PCD_MODULE_ENABLED
359  #include "stm32h7xx_hal_pcd.h"
360 #endif /* HAL_PCD_MODULE_ENABLED */
361 
362 #ifdef HAL_HCD_MODULE_ENABLED
363  #include "stm32h7xx_hal_hcd.h"
364 #endif /* HAL_HCD_MODULE_ENABLED */
365 
366 /* Exported macro ------------------------------------------------------------*/
367 #ifdef USE_FULL_ASSERT
368 
376  #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
377 /* Exported functions ------------------------------------------------------- */
378  void assert_failed(uint8_t* file, uint32_t line);
379 #else
380  #define assert_param(expr) ((void)0U)
381 #endif /* USE_FULL_ASSERT */
382 
383 #ifdef __cplusplus
384 }
385 #endif
386 
387 #endif /* __STM32H7xx_HAL_CONF_H */
388 
389 
390 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
stm32h7xx_hal_ramecc.h
Header file of RAMECC HAL module.
stm32h7xx_hal_ltdc.h
Header file of LTDC HAL module.
assert_failed
void assert_failed(uint8_t *file, uint32_t line)
Definition: pv_st_f407.c:88
stm32h7xx_hal_dfsdm.h
Header file of DFSDM HAL module.
stm32h7xx_hal_dsi.h
Header file of DSI HAL module.
stm32h7xx_hal_mmc.h
Header file of MMC HAL module.
stm32h7xx_hal_crc.h
Header file of CRC HAL module.
stm32h7xx_hal_spi.h
Header file of SPI HAL module.
stm32h7xx_hal_i2s.h
Header file of I2S HAL module.
stm32h7xx_hal_dcmi.h
Header file of DCMI HAL module.


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