Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:35

0001 /**
0002   ******************************************************************************
0003   * @file    stm32h7xx_hal_conf_template.h
0004   * @author  MCD Application Team
0005   * @brief   HAL configuration template file.
0006   *          This file should be copied to the application folder and renamed
0007   *          to stm32h7xx_hal_conf.h.
0008   ******************************************************************************
0009   * @attention
0010   *
0011   * Copyright (c) 2017 STMicroelectronics.
0012   * All rights reserved.
0013   *
0014   * This software is licensed under terms that can be found in the LICENSE file
0015   * in the root directory of this software component.
0016   * If no LICENSE file comes with this software, it is provided AS-IS.
0017   *
0018   ******************************************************************************
0019   */
0020 
0021 /* Define to prevent recursive inclusion -------------------------------------*/
0022 #ifndef STM32H7xx_HAL_CONF_H
0023 #define STM32H7xx_HAL_CONF_H
0024 
0025 #ifdef __cplusplus
0026  extern "C" {
0027 #endif
0028 
0029 /* Exported types ------------------------------------------------------------*/
0030 /* Exported constants --------------------------------------------------------*/
0031 
0032 /* ########################## Module Selection ############################## */
0033 /**
0034   * @brief This is the list of modules to be used in the HAL driver
0035   */
0036 #define HAL_MODULE_ENABLED
0037 #define HAL_ADC_MODULE_ENABLED
0038 #define HAL_CEC_MODULE_ENABLED
0039 #define HAL_COMP_MODULE_ENABLED
0040 #define HAL_CORDIC_MODULE_ENABLED
0041 #define HAL_CORTEX_MODULE_ENABLED
0042 #define HAL_CRC_MODULE_ENABLED
0043 #define HAL_CRYP_MODULE_ENABLED
0044 #define HAL_DAC_MODULE_ENABLED
0045 #define HAL_DCMI_MODULE_ENABLED
0046 #define HAL_DFSDM_MODULE_ENABLED
0047 #define HAL_DMA_MODULE_ENABLED
0048 #define HAL_DMA2D_MODULE_ENABLED
0049 #define HAL_DTS_MODULE_ENABLED
0050 #define HAL_DSI_MODULE_ENABLED
0051 #define HAL_ETH_MODULE_ENABLED
0052 /* #define HAL_ETH_LEGACY_MODULE_ENABLED */
0053 #define HAL_EXTI_MODULE_ENABLED
0054 #define HAL_FDCAN_MODULE_ENABLED
0055 #define HAL_FLASH_MODULE_ENABLED
0056 #define HAL_GFXMMU_MODULE_ENABLED
0057 #define HAL_FMAC_MODULE_ENABLED
0058 #define HAL_GPIO_MODULE_ENABLED
0059 #define HAL_HASH_MODULE_ENABLED
0060 #define HAL_HCD_MODULE_ENABLED
0061 #define HAL_HRTIM_MODULE_ENABLED
0062 #define HAL_HSEM_MODULE_ENABLED
0063 #define HAL_I2C_MODULE_ENABLED
0064 #define HAL_I2S_MODULE_ENABLED
0065 #define HAL_IRDA_MODULE_ENABLED
0066 #define HAL_IWDG_MODULE_ENABLED
0067 #define HAL_JPEG_MODULE_ENABLED
0068 #define HAL_LPTIM_MODULE_ENABLED
0069 #define HAL_LTDC_MODULE_ENABLED
0070 #define HAL_MDIOS_MODULE_ENABLED
0071 #define HAL_MDMA_MODULE_ENABLED
0072 #define HAL_MMC_MODULE_ENABLED
0073 #define HAL_NAND_MODULE_ENABLED
0074 #define HAL_NOR_MODULE_ENABLED
0075 #define HAL_OPAMP_MODULE_ENABLED
0076 #define HAL_OSPI_MODULE_ENABLED
0077 #define HAL_OTFDEC_MODULE_ENABLED
0078 #define HAL_PCD_MODULE_ENABLED
0079 #define HAL_PWR_MODULE_ENABLED
0080 #define HAL_PSSI_MODULE_ENABLED
0081 #define HAL_QSPI_MODULE_ENABLED
0082 #define HAL_RAMECC_MODULE_ENABLED
0083 #define HAL_RCC_MODULE_ENABLED
0084 #define HAL_RNG_MODULE_ENABLED
0085 #define HAL_RTC_MODULE_ENABLED
0086 #define HAL_SAI_MODULE_ENABLED
0087 #define HAL_SD_MODULE_ENABLED
0088 #define HAL_SDRAM_MODULE_ENABLED
0089 #define HAL_SMARTCARD_MODULE_ENABLED
0090 #define HAL_SMBUS_MODULE_ENABLED
0091 #define HAL_SPDIFRX_MODULE_ENABLED
0092 #define HAL_SPI_MODULE_ENABLED
0093 #define HAL_SRAM_MODULE_ENABLED
0094 #define HAL_SWPMI_MODULE_ENABLED
0095 #define HAL_TIM_MODULE_ENABLED
0096 #define HAL_UART_MODULE_ENABLED
0097 #define HAL_USART_MODULE_ENABLED
0098 #define HAL_WWDG_MODULE_ENABLED
0099 
0100 /* ########################## Oscillator Values adaptation ####################*/
0101 /**
0102   * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
0103   *        This value is used by the RCC HAL module to compute the system frequency
0104   *        (when HSE is used as system clock source, directly or through the PLL).
0105   */
0106 #if !defined  (HSE_VALUE)
0107 #define HSE_VALUE    (25000000UL) /*!< Value of the External oscillator in Hz */
0108 #endif /* HSE_VALUE */
0109 
0110 #if !defined  (HSE_STARTUP_TIMEOUT)
0111   #define HSE_STARTUP_TIMEOUT    (100UL)   /*!< Time out for HSE start up, in ms */
0112 #endif /* HSE_STARTUP_TIMEOUT */
0113 
0114 /**
0115   * @brief Internal  oscillator (CSI) default value.
0116   *        This value is the default CSI value after Reset.
0117   */
0118 #if !defined  (CSI_VALUE)
0119   #define CSI_VALUE    (4000000UL) /*!< Value of the Internal oscillator in Hz*/
0120 #endif /* CSI_VALUE */
0121 
0122 /**
0123   * @brief Internal High Speed oscillator (HSI) value.
0124   *        This value is used by the RCC HAL module to compute the system frequency
0125   *        (when HSI is used as system clock source, directly or through the PLL).
0126   */
0127 #if !defined  (HSI_VALUE)
0128   #define HSI_VALUE    (64000000UL) /*!< Value of the Internal oscillator in Hz*/
0129 #endif /* HSI_VALUE */
0130 
0131 /**
0132   * @brief External Low Speed oscillator (LSE) value.
0133   *        This value is used by the UART, RTC HAL module to compute the system frequency
0134   */
0135 #if !defined  (LSE_VALUE)
0136   #define LSE_VALUE    (32768UL) /*!< Value of the External oscillator in Hz*/
0137 #endif /* LSE_VALUE */
0138 
0139 
0140 #if !defined  (LSE_STARTUP_TIMEOUT)
0141   #define LSE_STARTUP_TIMEOUT    (5000UL)   /*!< Time out for LSE start up, in ms */
0142 #endif /* LSE_STARTUP_TIMEOUT */
0143 
0144 #if !defined  (LSI_VALUE)
0145   #define LSI_VALUE  (32000UL)              /*!< LSI Typical Value in Hz*/
0146 #endif /* LSI_VALUE */                      /*!< Value of the Internal Low Speed oscillator in Hz
0147                                               The real value may vary depending on the variations
0148                                               in voltage and temperature.*/
0149 
0150 /**
0151   * @brief External clock source for I2S peripheral
0152   *        This value is used by the I2S HAL module to compute the I2S clock source
0153   *        frequency, this source is inserted directly through I2S_CKIN pad.
0154   */
0155 #if !defined  (EXTERNAL_CLOCK_VALUE)
0156   #define EXTERNAL_CLOCK_VALUE    12288000UL /*!< Value of the External clock in Hz*/
0157 #endif /* EXTERNAL_CLOCK_VALUE */
0158 
0159 /* Tip: To avoid modifying this file each time you need to use different HSE,
0160    ===  you can define the HSE value in your toolchain compiler preprocessor. */
0161 
0162 /* ########################### System Configuration ######################### */
0163 /**
0164   * @brief This is the HAL system configuration section
0165   */
0166 #define  VDD_VALUE                    (3300UL) /*!< Value of VDD in mv */
0167 #define  TICK_INT_PRIORITY            (0x0FUL) /*!< tick interrupt priority */
0168 #define  USE_RTOS                     0
0169 #define  USE_SD_TRANSCEIVER           0U       /*!< use uSD Transceiver */
0170 #define  USE_SPI_CRC                  1U       /*!< use CRC in SPI */
0171 #define  USE_FLASH_ECC                0U       /*!< use ECC error management in FLASH */
0172 
0173 #define  USE_HAL_ADC_REGISTER_CALLBACKS     0U /* ADC register callback disabled     */
0174 #define  USE_HAL_CEC_REGISTER_CALLBACKS     0U /* CEC register callback disabled     */
0175 #define  USE_HAL_COMP_REGISTER_CALLBACKS    0U /* COMP register callback disabled    */
0176 #define  USE_HAL_CORDIC_REGISTER_CALLBACKS  0U /* CORDIC register callback disabled  */ 
0177 #define  USE_HAL_CRYP_REGISTER_CALLBACKS    0U /* CRYP register callback disabled    */
0178 #define  USE_HAL_DAC_REGISTER_CALLBACKS     0U /* DAC register callback disabled     */
0179 #define  USE_HAL_DCMI_REGISTER_CALLBACKS    0U /* DCMI register callback disabled    */
0180 #define  USE_HAL_DFSDM_REGISTER_CALLBACKS   0U /* DFSDM register callback disabled   */
0181 #define  USE_HAL_DMA2D_REGISTER_CALLBACKS   0U /* DMA2D register callback disabled   */
0182 #define  USE_HAL_DSI_REGISTER_CALLBACKS     0U /* DSI register callback disabled     */
0183 #define  USE_HAL_DTS_REGISTER_CALLBACKS     0U /* DTS register callback disabled     */
0184 #define  USE_HAL_ETH_REGISTER_CALLBACKS     0U /* ETH register callback disabled     */
0185 #define  USE_HAL_FDCAN_REGISTER_CALLBACKS   0U /* FDCAN register callback disabled   */
0186 #define  USE_HAL_FMAC_REGISTER_CALLBACKS    0U /* FMAC register callback disabled  */ 
0187 #define  USE_HAL_NAND_REGISTER_CALLBACKS    0U /* NAND register callback disabled    */
0188 #define  USE_HAL_NOR_REGISTER_CALLBACKS     0U /* NOR register callback disabled     */
0189 #define  USE_HAL_SDRAM_REGISTER_CALLBACKS   0U /* SDRAM register callback disabled   */
0190 #define  USE_HAL_SRAM_REGISTER_CALLBACKS    0U /* SRAM register callback disabled    */
0191 #define  USE_HAL_HASH_REGISTER_CALLBACKS    0U /* HASH register callback disabled    */
0192 #define  USE_HAL_HCD_REGISTER_CALLBACKS     0U /* HCD register callback disabled     */
0193 #define  USE_HAL_GFXMMU_REGISTER_CALLBACKS  0U /* GFXMMU register callback disabled  */
0194 #define  USE_HAL_HRTIM_REGISTER_CALLBACKS   0U /* HRTIM register callback disabled   */
0195 #define  USE_HAL_I2C_REGISTER_CALLBACKS     0U /* I2C register callback disabled     */
0196 #define  USE_HAL_I2S_REGISTER_CALLBACKS     0U /* I2S register callback disabled     */
0197 #define  USE_HAL_IRDA_REGISTER_CALLBACKS    0U /* IRDA register callback disabled    */
0198 #define  USE_HAL_JPEG_REGISTER_CALLBACKS    0U /* JPEG register callback disabled    */
0199 #define  USE_HAL_LPTIM_REGISTER_CALLBACKS   0U /* LPTIM register callback disabled   */
0200 #define  USE_HAL_LTDC_REGISTER_CALLBACKS    0U /* LTDC register callback disabled    */
0201 #define  USE_HAL_MDIOS_REGISTER_CALLBACKS   0U /* MDIO register callback disabled    */
0202 #define  USE_HAL_MMC_REGISTER_CALLBACKS     0U /* MMC register callback disabled     */
0203 #define  USE_HAL_OPAMP_REGISTER_CALLBACKS   0U /* MDIO register callback disabled    */
0204 #define  USE_HAL_OSPI_REGISTER_CALLBACKS    0U /* OSPI register callback disabled    */
0205 #define  USE_HAL_OTFDEC_REGISTER_CALLBACKS  0U /* OTFDEC register callback disabled  */
0206 #define  USE_HAL_PCD_REGISTER_CALLBACKS     0U /* PCD register callback disabled     */
0207 #define  USE_HAL_QSPI_REGISTER_CALLBACKS    0U /* QSPI register callback disabled    */
0208 #define  USE_HAL_RNG_REGISTER_CALLBACKS     0U /* RNG register callback disabled     */
0209 #define  USE_HAL_RTC_REGISTER_CALLBACKS     0U /* RTC register callback disabled     */
0210 #define  USE_HAL_SAI_REGISTER_CALLBACKS     0U /* SAI register callback disabled     */
0211 #define  USE_HAL_SD_REGISTER_CALLBACKS      0U /* SD register callback disabled      */
0212 #define  USE_HAL_SMARTCARD_REGISTER_CALLBACKS  0U /* SMARTCARD register callback disabled */
0213 #define  USE_HAL_SPDIFRX_REGISTER_CALLBACKS 0U /* SPDIFRX register callback disabled */
0214 #define  USE_HAL_SMBUS_REGISTER_CALLBACKS   0U /* SMBUS register callback disabled   */
0215 #define  USE_HAL_SPI_REGISTER_CALLBACKS     0U /* SPI register callback disabled     */
0216 #define  USE_HAL_SWPMI_REGISTER_CALLBACKS   0U /* SWPMI register callback disabled   */
0217 #define  USE_HAL_TIM_REGISTER_CALLBACKS     0U /* TIM register callback disabled     */
0218 #define  USE_HAL_UART_REGISTER_CALLBACKS    0U /* UART register callback disabled    */
0219 #define  USE_HAL_USART_REGISTER_CALLBACKS   0U /* USART register callback disabled   */
0220 #define  USE_HAL_WWDG_REGISTER_CALLBACKS    0U /* WWDG register callback disabled    */
0221 
0222 /* ########################### Ethernet Configuration ######################### */
0223 #define ETH_TX_DESC_CNT         4U  /* number of Ethernet Tx DMA descriptors */
0224 #define ETH_RX_DESC_CNT         4U  /* number of Ethernet Rx DMA descriptors */
0225 
0226 #define ETH_MAC_ADDR0    (0x02UL)
0227 #define ETH_MAC_ADDR1    (0x00UL)
0228 #define ETH_MAC_ADDR2    (0x00UL)
0229 #define ETH_MAC_ADDR3    (0x00UL)
0230 #define ETH_MAC_ADDR4    (0x00UL)
0231 #define ETH_MAC_ADDR5    (0x00UL)
0232 
0233 /* ########################## Assert Selection ############################## */
0234 /**
0235   * @brief Uncomment the line below to expanse the "assert_param" macro in the
0236   *        HAL drivers code
0237   */
0238 /* #define USE_FULL_ASSERT    1 */
0239 
0240 
0241 /* Includes ------------------------------------------------------------------*/
0242 /**
0243   * @brief Include module's header file
0244   */
0245 
0246 #ifdef HAL_RCC_MODULE_ENABLED
0247   #include "stm32h7xx_hal_rcc.h"
0248 #endif /* HAL_RCC_MODULE_ENABLED */
0249 
0250 #ifdef HAL_GPIO_MODULE_ENABLED
0251   #include "stm32h7xx_hal_gpio.h"
0252 #endif /* HAL_GPIO_MODULE_ENABLED */
0253 
0254 #ifdef HAL_DMA_MODULE_ENABLED
0255   #include "stm32h7xx_hal_dma.h"
0256 #endif /* HAL_DMA_MODULE_ENABLED */
0257 
0258 #ifdef HAL_MDMA_MODULE_ENABLED
0259  #include "stm32h7xx_hal_mdma.h"
0260 #endif /* HAL_MDMA_MODULE_ENABLED */
0261 
0262 #ifdef HAL_HASH_MODULE_ENABLED
0263   #include "stm32h7xx_hal_hash.h"
0264 #endif /* HAL_HASH_MODULE_ENABLED */
0265 
0266 #ifdef HAL_DCMI_MODULE_ENABLED
0267   #include "stm32h7xx_hal_dcmi.h"
0268 #endif /* HAL_DCMI_MODULE_ENABLED */
0269 
0270 #ifdef HAL_DMA2D_MODULE_ENABLED
0271   #include "stm32h7xx_hal_dma2d.h"
0272 #endif /* HAL_DMA2D_MODULE_ENABLED */
0273 
0274 #ifdef HAL_DSI_MODULE_ENABLED
0275   #include "stm32h7xx_hal_dsi.h"
0276 #endif /* HAL_DSI_MODULE_ENABLED */
0277 
0278 #ifdef HAL_DFSDM_MODULE_ENABLED
0279   #include "stm32h7xx_hal_dfsdm.h"
0280 #endif /* HAL_DFSDM_MODULE_ENABLED */
0281 
0282 #ifdef HAL_DTS_MODULE_ENABLED
0283  #include "stm32h7xx_hal_dts.h"
0284 #endif /* HAL_DTS_MODULE_ENABLED */
0285 
0286 #ifdef HAL_ETH_MODULE_ENABLED
0287   #include "stm32h7xx_hal_eth.h"
0288 #endif /* HAL_ETH_MODULE_ENABLED */
0289 
0290 #ifdef HAL_ETH_LEGACY_MODULE_ENABLED
0291   #include "stm32h7xx_hal_eth_legacy.h"
0292 #endif /* HAL_ETH_LEGACY_MODULE_ENABLED */
0293 
0294 #ifdef HAL_EXTI_MODULE_ENABLED
0295   #include "stm32h7xx_hal_exti.h"
0296 #endif /* HAL_EXTI_MODULE_ENABLED */
0297 
0298 #ifdef HAL_CORTEX_MODULE_ENABLED
0299   #include "stm32h7xx_hal_cortex.h"
0300 #endif /* HAL_CORTEX_MODULE_ENABLED */
0301 
0302 #ifdef HAL_ADC_MODULE_ENABLED
0303   #include "stm32h7xx_hal_adc.h"
0304 #endif /* HAL_ADC_MODULE_ENABLED */
0305 
0306 #ifdef HAL_FDCAN_MODULE_ENABLED
0307   #include "stm32h7xx_hal_fdcan.h"
0308 #endif /* HAL_FDCAN_MODULE_ENABLED */
0309 
0310 #ifdef HAL_CEC_MODULE_ENABLED
0311   #include "stm32h7xx_hal_cec.h"
0312 #endif /* HAL_CEC_MODULE_ENABLED */
0313 
0314 #ifdef HAL_COMP_MODULE_ENABLED
0315   #include "stm32h7xx_hal_comp.h"
0316 #endif /* HAL_COMP_MODULE_ENABLED */
0317 
0318 #ifdef HAL_CORDIC_MODULE_ENABLED
0319   #include "stm32h7xx_hal_cordic.h"
0320 #endif /* HAL_CORDIC_MODULE_ENABLED */
0321 
0322 #ifdef HAL_CRC_MODULE_ENABLED
0323   #include "stm32h7xx_hal_crc.h"
0324 #endif /* HAL_CRC_MODULE_ENABLED */
0325 
0326 #ifdef HAL_CRYP_MODULE_ENABLED
0327   #include "stm32h7xx_hal_cryp.h"
0328 #endif /* HAL_CRYP_MODULE_ENABLED */
0329 
0330 #ifdef HAL_DAC_MODULE_ENABLED
0331   #include "stm32h7xx_hal_dac.h"
0332 #endif /* HAL_DAC_MODULE_ENABLED */
0333 
0334 #ifdef HAL_FLASH_MODULE_ENABLED
0335   #include "stm32h7xx_hal_flash.h"
0336 #endif /* HAL_FLASH_MODULE_ENABLED */
0337 
0338 #ifdef HAL_GFXMMU_MODULE_ENABLED
0339   #include "stm32h7xx_hal_gfxmmu.h"
0340 #endif /* HAL_GFXMMU_MODULE_ENABLED */
0341 
0342 #ifdef HAL_FMAC_MODULE_ENABLED
0343   #include "stm32h7xx_hal_fmac.h"
0344 #endif /* HAL_FMAC_MODULE_ENABLED */
0345 
0346 #ifdef HAL_HRTIM_MODULE_ENABLED
0347   #include "stm32h7xx_hal_hrtim.h"
0348 #endif /* HAL_HRTIM_MODULE_ENABLED */
0349 
0350 #ifdef HAL_HSEM_MODULE_ENABLED
0351   #include "stm32h7xx_hal_hsem.h"
0352 #endif /* HAL_HSEM_MODULE_ENABLED */
0353 
0354 #ifdef HAL_SRAM_MODULE_ENABLED
0355   #include "stm32h7xx_hal_sram.h"
0356 #endif /* HAL_SRAM_MODULE_ENABLED */
0357 
0358 #ifdef HAL_NOR_MODULE_ENABLED
0359   #include "stm32h7xx_hal_nor.h"
0360 #endif /* HAL_NOR_MODULE_ENABLED */
0361 
0362 #ifdef HAL_NAND_MODULE_ENABLED
0363   #include "stm32h7xx_hal_nand.h"
0364 #endif /* HAL_NAND_MODULE_ENABLED */
0365 
0366 #ifdef HAL_I2C_MODULE_ENABLED
0367  #include "stm32h7xx_hal_i2c.h"
0368 #endif /* HAL_I2C_MODULE_ENABLED */
0369 
0370 #ifdef HAL_I2S_MODULE_ENABLED
0371  #include "stm32h7xx_hal_i2s.h"
0372 #endif /* HAL_I2S_MODULE_ENABLED */
0373 
0374 #ifdef HAL_IWDG_MODULE_ENABLED
0375  #include "stm32h7xx_hal_iwdg.h"
0376 #endif /* HAL_IWDG_MODULE_ENABLED */
0377 
0378 #ifdef HAL_JPEG_MODULE_ENABLED
0379  #include "stm32h7xx_hal_jpeg.h"
0380 #endif /* HAL_JPEG_MODULE_ENABLED */
0381 
0382 #ifdef HAL_MDIOS_MODULE_ENABLED
0383  #include "stm32h7xx_hal_mdios.h"
0384 #endif /* HAL_MDIOS_MODULE_ENABLED */
0385 
0386 #ifdef HAL_MMC_MODULE_ENABLED
0387  #include "stm32h7xx_hal_mmc.h"
0388 #endif /* HAL_MMC_MODULE_ENABLED */
0389 
0390 #ifdef HAL_LPTIM_MODULE_ENABLED
0391 #include "stm32h7xx_hal_lptim.h"
0392 #endif /* HAL_LPTIM_MODULE_ENABLED */
0393 
0394 #ifdef HAL_LTDC_MODULE_ENABLED
0395 #include "stm32h7xx_hal_ltdc.h"
0396 #endif /* HAL_LTDC_MODULE_ENABLED */
0397 
0398 #ifdef HAL_OPAMP_MODULE_ENABLED
0399 #include "stm32h7xx_hal_opamp.h"
0400 #endif /* HAL_OPAMP_MODULE_ENABLED */
0401 
0402 #ifdef HAL_OSPI_MODULE_ENABLED
0403  #include "stm32h7xx_hal_ospi.h"
0404 #endif /* HAL_OSPI_MODULE_ENABLED */
0405 
0406 #ifdef HAL_OTFDEC_MODULE_ENABLED
0407 #include "stm32h7xx_hal_otfdec.h"
0408 #endif /* HAL_OTFDEC_MODULE_ENABLED */
0409 
0410 #ifdef HAL_PSSI_MODULE_ENABLED
0411  #include "stm32h7xx_hal_pssi.h"
0412 #endif /* HAL_PSSI_MODULE_ENABLED */
0413 
0414 #ifdef HAL_PWR_MODULE_ENABLED
0415  #include "stm32h7xx_hal_pwr.h"
0416 #endif /* HAL_PWR_MODULE_ENABLED */
0417 
0418 #ifdef HAL_QSPI_MODULE_ENABLED
0419  #include "stm32h7xx_hal_qspi.h"
0420 #endif /* HAL_QSPI_MODULE_ENABLED */
0421 
0422 #ifdef HAL_RAMECC_MODULE_ENABLED
0423  #include "stm32h7xx_hal_ramecc.h"
0424 #endif /* HAL_RAMECC_MODULE_ENABLED */
0425 
0426 #ifdef HAL_RNG_MODULE_ENABLED
0427  #include "stm32h7xx_hal_rng.h"
0428 #endif /* HAL_RNG_MODULE_ENABLED */
0429 
0430 #ifdef HAL_RTC_MODULE_ENABLED
0431  #include "stm32h7xx_hal_rtc.h"
0432 #endif /* HAL_RTC_MODULE_ENABLED */
0433 
0434 #ifdef HAL_SAI_MODULE_ENABLED
0435  #include "stm32h7xx_hal_sai.h"
0436 #endif /* HAL_SAI_MODULE_ENABLED */
0437 
0438 #ifdef HAL_SD_MODULE_ENABLED
0439  #include "stm32h7xx_hal_sd.h"
0440 #endif /* HAL_SD_MODULE_ENABLED */
0441 
0442 #ifdef HAL_SDRAM_MODULE_ENABLED
0443  #include "stm32h7xx_hal_sdram.h"
0444 #endif /* HAL_SDRAM_MODULE_ENABLED */
0445 
0446 #ifdef HAL_SPI_MODULE_ENABLED
0447  #include "stm32h7xx_hal_spi.h"
0448 #endif /* HAL_SPI_MODULE_ENABLED */
0449 
0450 #ifdef HAL_SPDIFRX_MODULE_ENABLED
0451  #include "stm32h7xx_hal_spdifrx.h"
0452 #endif /* HAL_SPDIFRX_MODULE_ENABLED */
0453 
0454 #ifdef HAL_SWPMI_MODULE_ENABLED
0455  #include "stm32h7xx_hal_swpmi.h"
0456 #endif /* HAL_SWPMI_MODULE_ENABLED */
0457 
0458 #ifdef HAL_TIM_MODULE_ENABLED
0459  #include "stm32h7xx_hal_tim.h"
0460 #endif /* HAL_TIM_MODULE_ENABLED */
0461 
0462 #ifdef HAL_UART_MODULE_ENABLED
0463  #include "stm32h7xx_hal_uart.h"
0464 #endif /* HAL_UART_MODULE_ENABLED */
0465 
0466 #ifdef HAL_USART_MODULE_ENABLED
0467  #include "stm32h7xx_hal_usart.h"
0468 #endif /* HAL_USART_MODULE_ENABLED */
0469 
0470 #ifdef HAL_IRDA_MODULE_ENABLED
0471  #include "stm32h7xx_hal_irda.h"
0472 #endif /* HAL_IRDA_MODULE_ENABLED */
0473 
0474 #ifdef HAL_SMARTCARD_MODULE_ENABLED
0475  #include "stm32h7xx_hal_smartcard.h"
0476 #endif /* HAL_SMARTCARD_MODULE_ENABLED */
0477 
0478 #ifdef HAL_SMBUS_MODULE_ENABLED
0479  #include "stm32h7xx_hal_smbus.h"
0480 #endif /* HAL_SMBUS_MODULE_ENABLED */
0481 
0482 #ifdef HAL_WWDG_MODULE_ENABLED
0483  #include "stm32h7xx_hal_wwdg.h"
0484 #endif /* HAL_WWDG_MODULE_ENABLED */
0485 
0486 #ifdef HAL_PCD_MODULE_ENABLED
0487  #include "stm32h7xx_hal_pcd.h"
0488 #endif /* HAL_PCD_MODULE_ENABLED */
0489 
0490 #ifdef HAL_HCD_MODULE_ENABLED
0491  #include "stm32h7xx_hal_hcd.h"
0492 #endif /* HAL_HCD_MODULE_ENABLED */
0493 
0494 /* Exported macro ------------------------------------------------------------*/
0495 #ifdef  USE_FULL_ASSERT
0496 /**
0497   * @brief  The assert_param macro is used for function's parameters check.
0498   * @param  expr: If expr is false, it calls assert_failed function
0499   *         which reports the name of the source file and the source
0500   *         line number of the call that failed.
0501   *         If expr is true, it returns no value.
0502   * @retval None
0503   */
0504   #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
0505 /* Exported functions ------------------------------------------------------- */
0506   void assert_failed(uint8_t *file, uint32_t line);
0507 #else
0508   #define assert_param(expr) ((void)0U)
0509 #endif /* USE_FULL_ASSERT */
0510 
0511 #ifdef __cplusplus
0512 }
0513 #endif
0514 
0515 #endif /* STM32H7xx_HAL_CONF_H */
0516 
0517 
0518