21#ifndef __STM32H7xx_HAL_CONF_H
22#define __STM32H7xx_HAL_CONF_H
35#define HAL_MODULE_ENABLED
39#define HAL_CORTEX_MODULE_ENABLED
51#define HAL_GPIO_MODULE_ENABLED
73#define HAL_RCC_MODULE_ENABLED
96#if !defined (HSE_VALUE)
97#define HSE_VALUE ((uint32_t)8000000)
100#if !defined (HSE_STARTUP_TIMEOUT)
101 #define HSE_STARTUP_TIMEOUT ((uint32_t)5000)
108#if !defined (CSI_VALUE)
109 #define CSI_VALUE ((uint32_t)4000000)
117#if !defined (HSI_VALUE)
118 #define HSI_VALUE ((uint32_t)64000000)
125#if !defined (LSE_VALUE)
126 #define LSE_VALUE ((uint32_t)32768)
130#if !defined (LSE_STARTUP_TIMEOUT)
131 #define LSE_STARTUP_TIMEOUT ((uint32_t)5000)
134#if !defined (LSI_VALUE)
135 #define LSI_VALUE ((uint32_t)32000)
145#if !defined (EXTERNAL_CLOCK_VALUE)
146 #define EXTERNAL_CLOCK_VALUE 12288000U
156#define VDD_VALUE 3300U
157#define TICK_INT_PRIORITY ((uint32_t)0x0F)
176#define USE_SPI_CRC 1U
184#ifdef HAL_RCC_MODULE_ENABLED
188#ifdef HAL_GPIO_MODULE_ENABLED
192#ifdef HAL_DMA_MODULE_ENABLED
193 #include "stm32h7xx_hal_dma.h"
196#ifdef HAL_MDMA_MODULE_ENABLED
197 #include "stm32h7xx_hal_mdma.h"
200#ifdef HAL_HASH_MODULE_ENABLED
201 #include "stm32h7xx_hal_hash.h"
204#ifdef HAL_DCMI_MODULE_ENABLED
205 #include "stm32h7xx_hal_dcmi.h"
208#ifdef HAL_DMA2D_MODULE_ENABLED
209 #include "stm32h7xx_hal_dma2d.h"
212#ifdef HAL_DFSDM_MODULE_ENABLED
213 #include "stm32h7xx_hal_dfsdm.h"
216#ifdef HAL_ETH_MODULE_ENABLED
220#ifdef HAL_EXTI_MODULE_ENABLED
221 #include "stm32h7xx_hal_exti.h"
224#ifdef HAL_CORTEX_MODULE_ENABLED
228#ifdef HAL_ADC_MODULE_ENABLED
229 #include "stm32h7xx_hal_adc.h"
232#ifdef HAL_FDCAN_MODULE_ENABLED
233 #include "stm32h7xx_hal_fdcan.h"
236#ifdef HAL_CEC_MODULE_ENABLED
237 #include "stm32h7xx_hal_cec.h"
240#ifdef HAL_COMP_MODULE_ENABLED
241 #include "stm32h7xx_hal_comp.h"
244#ifdef HAL_CRC_MODULE_ENABLED
245 #include "stm32h7xx_hal_crc.h"
248#ifdef HAL_CRYP_MODULE_ENABLED
249 #include "stm32h7xx_hal_cryp.h"
252#ifdef HAL_DAC_MODULE_ENABLED
253 #include "stm32h7xx_hal_dac.h"
256#ifdef HAL_FLASH_MODULE_ENABLED
257 #include "stm32h7xx_hal_flash.h"
260#ifdef HAL_HRTIM_MODULE_ENABLED
261 #include "stm32h7xx_hal_hrtim.h"
264#ifdef HAL_HSEM_MODULE_ENABLED
265 #include "stm32h7xx_hal_hsem.h"
268#ifdef HAL_SRAM_MODULE_ENABLED
269 #include "stm32h7xx_hal_sram.h"
272#ifdef HAL_NOR_MODULE_ENABLED
273 #include "stm32h7xx_hal_nor.h"
276#ifdef HAL_NAND_MODULE_ENABLED
277 #include "stm32h7xx_hal_nand.h"
280#ifdef HAL_I2C_MODULE_ENABLED
281 #include "stm32h7xx_hal_i2c.h"
284#ifdef HAL_I2S_MODULE_ENABLED
285 #include "stm32h7xx_hal_i2s.h"
288#ifdef HAL_IWDG_MODULE_ENABLED
289 #include "stm32h7xx_hal_iwdg.h"
292#ifdef HAL_JPEG_MODULE_ENABLED
293 #include "stm32h7xx_hal_jpeg.h"
296#ifdef HAL_MDIOS_MODULE_ENABLED
297 #include "stm32h7xx_hal_mdios.h"
301#ifdef HAL_MMC_MODULE_ENABLED
302 #include "stm32h7xx_hal_mmc.h"
305#ifdef HAL_LPTIM_MODULE_ENABLED
306#include "stm32h7xx_hal_lptim.h"
309#ifdef HAL_LTDC_MODULE_ENABLED
310#include "stm32h7xx_hal_ltdc.h"
313#ifdef HAL_OPAMP_MODULE_ENABLED
314#include "stm32h7xx_hal_opamp.h"
317#ifdef HAL_PWR_MODULE_ENABLED
318 #include "stm32h7xx_hal_pwr.h"
321#ifdef HAL_QSPI_MODULE_ENABLED
322 #include "stm32h7xx_hal_qspi.h"
325#ifdef HAL_RAMECC_MODULE_ENABLED
326 #include "stm32h7xx_hal_ramecc.h"
329#ifdef HAL_RNG_MODULE_ENABLED
330 #include "stm32h7xx_hal_rng.h"
333#ifdef HAL_RTC_MODULE_ENABLED
334 #include "stm32h7xx_hal_rtc.h"
337#ifdef HAL_SAI_MODULE_ENABLED
338 #include "stm32h7xx_hal_sai.h"
341#ifdef HAL_SD_MODULE_ENABLED
342 #include "stm32h7xx_hal_sd.h"
345#ifdef HAL_SDRAM_MODULE_ENABLED
346 #include "stm32h7xx_hal_sdram.h"
349#ifdef HAL_SPI_MODULE_ENABLED
350 #include "stm32h7xx_hal_spi.h"
353#ifdef HAL_SPDIFRX_MODULE_ENABLED
354 #include "stm32h7xx_hal_spdifrx.h"
357#ifdef HAL_SWPMI_MODULE_ENABLED
358 #include "stm32h7xx_hal_swpmi.h"
361#ifdef HAL_TIM_MODULE_ENABLED
362 #include "stm32h7xx_hal_tim.h"
365#ifdef HAL_UART_MODULE_ENABLED
366 #include "stm32h7xx_hal_uart.h"
369#ifdef HAL_USART_MODULE_ENABLED
370 #include "stm32h7xx_hal_usart.h"
373#ifdef HAL_IRDA_MODULE_ENABLED
374 #include "stm32h7xx_hal_irda.h"
377#ifdef HAL_SMARTCARD_MODULE_ENABLED
378 #include "stm32h7xx_hal_smartcard.h"
381#ifdef HAL_SMBUS_MODULE_ENABLED
382 #include "stm32h7xx_hal_smbus.h"
385#ifdef HAL_WWDG_MODULE_ENABLED
386 #include "stm32h7xx_hal_wwdg.h"
389#ifdef HAL_PCD_MODULE_ENABLED
390 #include "stm32h7xx_hal_pcd.h"
393#ifdef HAL_HCD_MODULE_ENABLED
394 #include "stm32h7xx_hal_hcd.h"
398#ifdef USE_FULL_ASSERT
407 #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
409 void assert_failed(uint8_t* file, uint32_t line);
411 #define assert_param(expr) ((void)0U)
Header file of CORTEX HAL module.
Header file of ETH HAL module.
Header file of GPIO HAL module.
Header file of RCC HAL module.