Go to the documentation of this file.
21 #ifndef __STM32H7xx_HAL_CONF_H
22 #define __STM32H7xx_HAL_CONF_H
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
56 #if !defined (HSE_VALUE)
57 #define HSE_VALUE ((uint32_t)25000000)
60 #if !defined (HSE_STARTUP_TIMEOUT)
61 #define HSE_STARTUP_TIMEOUT ((uint32_t)5000)
68 #if !defined (CSI_VALUE)
69 #define CSI_VALUE ((uint32_t)4000000)
77 #if !defined (HSI_VALUE)
78 #define HSI_VALUE ((uint32_t)64000000)
85 #if !defined (LSE_VALUE)
86 #define LSE_VALUE ((uint32_t)32768)
90 #if !defined (LSE_STARTUP_TIMEOUT)
91 #define LSE_STARTUP_TIMEOUT ((uint32_t)5000)
94 #if !defined (LSI_VALUE)
95 #define LSI_VALUE ((uint32_t)32000)
105 #if !defined (EXTERNAL_CLOCK_VALUE)
106 #define EXTERNAL_CLOCK_VALUE 12288000U
116 #define VDD_VALUE ((uint32_t)3300)
117 #define TICK_INT_PRIORITY ((uint32_t)0x0F)
122 #define ETH_TX_DESC_CNT 4
123 #define ETH_RX_DESC_CNT 4
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)
149 #ifdef HAL_RCC_MODULE_ENABLED
150 #include "stm32h7xx_hal_rcc.h"
153 #ifdef HAL_GPIO_MODULE_ENABLED
154 #include "stm32h7xx_hal_gpio.h"
157 #ifdef HAL_DMA_MODULE_ENABLED
158 #include "stm32h7xx_hal_dma.h"
161 #ifdef HAL_MDMA_MODULE_ENABLED
162 #include "stm32h7xx_hal_mdma.h"
165 #ifdef HAL_HASH_MODULE_ENABLED
166 #include "stm32h7xx_hal_hash.h"
169 #ifdef HAL_DCMI_MODULE_ENABLED
173 #ifdef HAL_DMA2D_MODULE_ENABLED
174 #include "stm32h7xx_hal_dma2d.h"
177 #ifdef HAL_DSI_MODULE_ENABLED
181 #ifdef HAL_DFSDM_MODULE_ENABLED
185 #ifdef HAL_ETH_MODULE_ENABLED
186 #include "stm32h7xx_hal_eth.h"
189 #ifdef HAL_EXTI_MODULE_ENABLED
190 #include "stm32h7xx_hal_exti.h"
193 #ifdef HAL_CORTEX_MODULE_ENABLED
194 #include "stm32h7xx_hal_cortex.h"
197 #ifdef HAL_ADC_MODULE_ENABLED
198 #include "stm32h7xx_hal_adc.h"
201 #ifdef HAL_FDCAN_MODULE_ENABLED
202 #include "stm32h7xx_hal_fdcan.h"
205 #ifdef HAL_CEC_MODULE_ENABLED
206 #include "stm32h7xx_hal_cec.h"
209 #ifdef HAL_COMP_MODULE_ENABLED
210 #include "stm32h7xx_hal_comp.h"
213 #ifdef HAL_CRC_MODULE_ENABLED
217 #ifdef HAL_CRYP_MODULE_ENABLED
218 #include "stm32h7xx_hal_cryp.h"
221 #ifdef HAL_DAC_MODULE_ENABLED
222 #include "stm32h7xx_hal_dac.h"
225 #ifdef HAL_FLASH_MODULE_ENABLED
226 #include "stm32h7xx_hal_flash.h"
229 #ifdef HAL_HRTIM_MODULE_ENABLED
230 #include "stm32h7xx_hal_hrtim.h"
233 #ifdef HAL_HSEM_MODULE_ENABLED
234 #include "stm32h7xx_hal_hsem.h"
237 #ifdef HAL_SRAM_MODULE_ENABLED
238 #include "stm32h7xx_hal_sram.h"
241 #ifdef HAL_NOR_MODULE_ENABLED
242 #include "stm32h7xx_hal_nor.h"
245 #ifdef HAL_NAND_MODULE_ENABLED
246 #include "stm32h7xx_hal_nand.h"
249 #ifdef HAL_I2C_MODULE_ENABLED
250 #include "stm32h7xx_hal_i2c.h"
253 #ifdef HAL_I2S_MODULE_ENABLED
257 #ifdef HAL_IWDG_MODULE_ENABLED
258 #include "stm32h7xx_hal_iwdg.h"
261 #ifdef HAL_JPEG_MODULE_ENABLED
262 #include "stm32h7xx_hal_jpeg.h"
265 #ifdef HAL_MDIOS_MODULE_ENABLED
266 #include "stm32h7xx_hal_mdios.h"
270 #ifdef HAL_MMC_MODULE_ENABLED
274 #ifdef HAL_LPTIM_MODULE_ENABLED
275 #include "stm32h7xx_hal_lptim.h"
278 #ifdef HAL_LTDC_MODULE_ENABLED
282 #ifdef HAL_OPAMP_MODULE_ENABLED
283 #include "stm32h7xx_hal_opamp.h"
286 #ifdef HAL_PWR_MODULE_ENABLED
287 #include "stm32h7xx_hal_pwr.h"
290 #ifdef HAL_QSPI_MODULE_ENABLED
291 #include "stm32h7xx_hal_qspi.h"
294 #ifdef HAL_RAMECC_MODULE_ENABLED
298 #ifdef HAL_RNG_MODULE_ENABLED
299 #include "stm32h7xx_hal_rng.h"
302 #ifdef HAL_RTC_MODULE_ENABLED
303 #include "stm32h7xx_hal_rtc.h"
306 #ifdef HAL_SAI_MODULE_ENABLED
307 #include "stm32h7xx_hal_sai.h"
310 #ifdef HAL_SD_MODULE_ENABLED
311 #include "stm32h7xx_hal_sd.h"
314 #ifdef HAL_SDRAM_MODULE_ENABLED
315 #include "stm32h7xx_hal_sdram.h"
318 #ifdef HAL_SPI_MODULE_ENABLED
322 #ifdef HAL_SPDIFRX_MODULE_ENABLED
323 #include "stm32h7xx_hal_spdifrx.h"
326 #ifdef HAL_SWPMI_MODULE_ENABLED
327 #include "stm32h7xx_hal_swpmi.h"
330 #ifdef HAL_TIM_MODULE_ENABLED
331 #include "stm32h7xx_hal_tim.h"
334 #ifdef HAL_UART_MODULE_ENABLED
335 #include "stm32h7xx_hal_uart.h"
338 #ifdef HAL_USART_MODULE_ENABLED
339 #include "stm32h7xx_hal_usart.h"
342 #ifdef HAL_IRDA_MODULE_ENABLED
343 #include "stm32h7xx_hal_irda.h"
346 #ifdef HAL_SMARTCARD_MODULE_ENABLED
347 #include "stm32h7xx_hal_smartcard.h"
350 #ifdef HAL_SMBUS_MODULE_ENABLED
351 #include "stm32h7xx_hal_smbus.h"
354 #ifdef HAL_WWDG_MODULE_ENABLED
355 #include "stm32h7xx_hal_wwdg.h"
358 #ifdef HAL_PCD_MODULE_ENABLED
359 #include "stm32h7xx_hal_pcd.h"
362 #ifdef HAL_HCD_MODULE_ENABLED
363 #include "stm32h7xx_hal_hcd.h"
367 #ifdef USE_FULL_ASSERT
376 #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
380 #define assert_param(expr) ((void)0U)
Header file of RAMECC HAL module.
Header file of LTDC HAL module.
void assert_failed(uint8_t *file, uint32_t line)
Header file of DFSDM HAL module.
Header file of DSI HAL module.
Header file of MMC HAL module.
Header file of CRC HAL module.
Header file of SPI HAL module.
Header file of I2S HAL module.
Header file of DCMI HAL module.