RTEMS 6.1-rc1
Macros
stm32h7xx_hal_conf_template.h File Reference

HAL configuration template file. This file should be copied to the application folder and renamed to stm32h7xx_hal_conf.h. More...

#include "stm32h7xx_hal_rcc.h"
#include "stm32h7xx_hal_gpio.h"
#include "stm32h7xx_hal_dma.h"
#include "stm32h7xx_hal_mdma.h"
#include "stm32h7xx_hal_hash.h"
#include "stm32h7xx_hal_dcmi.h"
#include "stm32h7xx_hal_dma2d.h"
#include "stm32h7xx_hal_dsi.h"
#include "stm32h7xx_hal_dfsdm.h"
#include "stm32h7xx_hal_dts.h"
#include "stm32h7xx_hal_eth.h"
#include "stm32h7xx_hal_exti.h"
#include "stm32h7xx_hal_cortex.h"
#include "stm32h7xx_hal_adc.h"
#include "stm32h7xx_hal_fdcan.h"
#include "stm32h7xx_hal_cec.h"
#include "stm32h7xx_hal_comp.h"
#include "stm32h7xx_hal_cordic.h"
#include "stm32h7xx_hal_crc.h"
#include "stm32h7xx_hal_cryp.h"
#include "stm32h7xx_hal_dac.h"
#include "stm32h7xx_hal_flash.h"
#include "stm32h7xx_hal_gfxmmu.h"
#include "stm32h7xx_hal_fmac.h"
#include "stm32h7xx_hal_hrtim.h"
#include "stm32h7xx_hal_hsem.h"
#include "stm32h7xx_hal_sram.h"
#include "stm32h7xx_hal_nor.h"
#include "stm32h7xx_hal_nand.h"
#include "stm32h7xx_hal_i2c.h"
#include "stm32h7xx_hal_i2s.h"
#include "stm32h7xx_hal_iwdg.h"
#include "stm32h7xx_hal_jpeg.h"
#include "stm32h7xx_hal_mdios.h"
#include "stm32h7xx_hal_mmc.h"
#include "stm32h7xx_hal_lptim.h"
#include "stm32h7xx_hal_ltdc.h"
#include "stm32h7xx_hal_opamp.h"
#include "stm32h7xx_hal_ospi.h"
#include "stm32h7xx_hal_otfdec.h"
#include "stm32h7xx_hal_pssi.h"
#include "stm32h7xx_hal_pwr.h"
#include "stm32h7xx_hal_qspi.h"
#include "stm32h7xx_hal_ramecc.h"
#include "stm32h7xx_hal_rng.h"
#include "stm32h7xx_hal_rtc.h"
#include "stm32h7xx_hal_sai.h"
#include "stm32h7xx_hal_sd.h"
#include "stm32h7xx_hal_sdram.h"
#include "stm32h7xx_hal_spi.h"
#include "stm32h7xx_hal_spdifrx.h"
#include "stm32h7xx_hal_swpmi.h"
#include "stm32h7xx_hal_tim.h"
#include "stm32h7xx_hal_uart.h"
#include "stm32h7xx_hal_usart.h"
#include "stm32h7xx_hal_irda.h"
#include "stm32h7xx_hal_smartcard.h"
#include "stm32h7xx_hal_smbus.h"
#include "stm32h7xx_hal_wwdg.h"
#include "stm32h7xx_hal_pcd.h"
#include "stm32h7xx_hal_hcd.h"

Go to the source code of this file.

Macros

#define HAL_MODULE_ENABLED
 This is the list of modules to be used in the HAL driver.
 
#define HAL_ADC_MODULE_ENABLED
 
#define HAL_CEC_MODULE_ENABLED
 
#define HAL_COMP_MODULE_ENABLED
 
#define HAL_CORDIC_MODULE_ENABLED
 
#define HAL_CORTEX_MODULE_ENABLED
 
#define HAL_CRC_MODULE_ENABLED
 
#define HAL_CRYP_MODULE_ENABLED
 
#define HAL_DAC_MODULE_ENABLED
 
#define HAL_DCMI_MODULE_ENABLED
 
#define HAL_DFSDM_MODULE_ENABLED
 
#define HAL_DMA_MODULE_ENABLED
 
#define HAL_DMA2D_MODULE_ENABLED
 
#define HAL_DTS_MODULE_ENABLED
 
#define HAL_DSI_MODULE_ENABLED
 
#define HAL_ETH_MODULE_ENABLED
 
#define HAL_EXTI_MODULE_ENABLED
 
#define HAL_FDCAN_MODULE_ENABLED
 
#define HAL_FLASH_MODULE_ENABLED
 
#define HAL_GFXMMU_MODULE_ENABLED
 
#define HAL_FMAC_MODULE_ENABLED
 
#define HAL_GPIO_MODULE_ENABLED
 
#define HAL_HASH_MODULE_ENABLED
 
#define HAL_HCD_MODULE_ENABLED
 
#define HAL_HRTIM_MODULE_ENABLED
 
#define HAL_HSEM_MODULE_ENABLED
 
#define HAL_I2C_MODULE_ENABLED
 
#define HAL_I2S_MODULE_ENABLED
 
#define HAL_IRDA_MODULE_ENABLED
 
#define HAL_IWDG_MODULE_ENABLED
 
#define HAL_JPEG_MODULE_ENABLED
 
#define HAL_LPTIM_MODULE_ENABLED
 
#define HAL_LTDC_MODULE_ENABLED
 
#define HAL_MDIOS_MODULE_ENABLED
 
#define HAL_MDMA_MODULE_ENABLED
 
#define HAL_MMC_MODULE_ENABLED
 
#define HAL_NAND_MODULE_ENABLED
 
#define HAL_NOR_MODULE_ENABLED
 
#define HAL_OPAMP_MODULE_ENABLED
 
#define HAL_OSPI_MODULE_ENABLED
 
#define HAL_OTFDEC_MODULE_ENABLED
 
#define HAL_PCD_MODULE_ENABLED
 
#define HAL_PWR_MODULE_ENABLED
 
#define HAL_PSSI_MODULE_ENABLED
 
#define HAL_QSPI_MODULE_ENABLED
 
#define HAL_RAMECC_MODULE_ENABLED
 
#define HAL_RCC_MODULE_ENABLED
 
#define HAL_RNG_MODULE_ENABLED
 
#define HAL_RTC_MODULE_ENABLED
 
#define HAL_SAI_MODULE_ENABLED
 
#define HAL_SD_MODULE_ENABLED
 
#define HAL_SDRAM_MODULE_ENABLED
 
#define HAL_SMARTCARD_MODULE_ENABLED
 
#define HAL_SMBUS_MODULE_ENABLED
 
#define HAL_SPDIFRX_MODULE_ENABLED
 
#define HAL_SPI_MODULE_ENABLED
 
#define HAL_SRAM_MODULE_ENABLED
 
#define HAL_SWPMI_MODULE_ENABLED
 
#define HAL_TIM_MODULE_ENABLED
 
#define HAL_UART_MODULE_ENABLED
 
#define HAL_USART_MODULE_ENABLED
 
#define HAL_WWDG_MODULE_ENABLED
 
#define HSE_VALUE   (25000000UL)
 Adjust the value of External High Speed oscillator (HSE) used in your application. This value is used by the RCC HAL module to compute the system frequency (when HSE is used as system clock source, directly or through the PLL). More...
 
#define HSE_STARTUP_TIMEOUT   (100UL)
 
#define CSI_VALUE   (4000000UL)
 Internal oscillator (CSI) default value. This value is the default CSI value after Reset. More...
 
#define HSI_VALUE   (64000000UL)
 Internal High Speed oscillator (HSI) value. This value is used by the RCC HAL module to compute the system frequency (when HSI is used as system clock source, directly or through the PLL). More...
 
#define LSE_VALUE   (32768UL)
 External Low Speed oscillator (LSE) value. This value is used by the UART, RTC HAL module to compute the system frequency. More...
 
#define LSE_STARTUP_TIMEOUT   (5000UL)
 
#define LSI_VALUE   (32000UL)
 
#define EXTERNAL_CLOCK_VALUE   12288000UL
 External clock source for I2S peripheral This value is used by the I2S HAL module to compute the I2S clock source frequency, this source is inserted directly through I2S_CKIN pad. More...
 
#define VDD_VALUE   (3300UL)
 This is the HAL system configuration section. More...
 
#define TICK_INT_PRIORITY   (0x0FUL)
 
#define USE_RTOS   0
 
#define USE_SD_TRANSCEIVER   0U
 
#define USE_SPI_CRC   1U
 
#define USE_HAL_ADC_REGISTER_CALLBACKS   0U /* ADC register callback disabled */
 
#define USE_HAL_CEC_REGISTER_CALLBACKS   0U /* CEC register callback disabled */
 
#define USE_HAL_COMP_REGISTER_CALLBACKS   0U /* COMP register callback disabled */
 
#define USE_HAL_CORDIC_REGISTER_CALLBACKS   0U /* CORDIC register callback disabled */
 
#define USE_HAL_CRYP_REGISTER_CALLBACKS   0U /* CRYP register callback disabled */
 
#define USE_HAL_DAC_REGISTER_CALLBACKS   0U /* DAC register callback disabled */
 
#define USE_HAL_DCMI_REGISTER_CALLBACKS   0U /* DCMI register callback disabled */
 
#define USE_HAL_DFSDM_REGISTER_CALLBACKS   0U /* DFSDM register callback disabled */
 
#define USE_HAL_DMA2D_REGISTER_CALLBACKS   0U /* DMA2D register callback disabled */
 
#define USE_HAL_DSI_REGISTER_CALLBACKS   0U /* DSI register callback disabled */
 
#define USE_HAL_DTS_REGISTER_CALLBACKS   0U /* DTS register callback disabled */
 
#define USE_HAL_ETH_REGISTER_CALLBACKS   0U /* ETH register callback disabled */
 
#define USE_HAL_FDCAN_REGISTER_CALLBACKS   0U /* FDCAN register callback disabled */
 
#define USE_HAL_FMAC_REGISTER_CALLBACKS   0U /* FMAC register callback disabled */
 
#define USE_HAL_NAND_REGISTER_CALLBACKS   0U /* NAND register callback disabled */
 
#define USE_HAL_NOR_REGISTER_CALLBACKS   0U /* NOR register callback disabled */
 
#define USE_HAL_SDRAM_REGISTER_CALLBACKS   0U /* SDRAM register callback disabled */
 
#define USE_HAL_SRAM_REGISTER_CALLBACKS   0U /* SRAM register callback disabled */
 
#define USE_HAL_HASH_REGISTER_CALLBACKS   0U /* HASH register callback disabled */
 
#define USE_HAL_HCD_REGISTER_CALLBACKS   0U /* HCD register callback disabled */
 
#define USE_HAL_GFXMMU_REGISTER_CALLBACKS   0U /* GFXMMU register callback disabled */
 
#define USE_HAL_HRTIM_REGISTER_CALLBACKS   0U /* HRTIM register callback disabled */
 
#define USE_HAL_I2C_REGISTER_CALLBACKS   0U /* I2C register callback disabled */
 
#define USE_HAL_I2S_REGISTER_CALLBACKS   0U /* I2S register callback disabled */
 
#define USE_HAL_IRDA_REGISTER_CALLBACKS   0U /* IRDA register callback disabled */
 
#define USE_HAL_JPEG_REGISTER_CALLBACKS   0U /* JPEG register callback disabled */
 
#define USE_HAL_LPTIM_REGISTER_CALLBACKS   0U /* LPTIM register callback disabled */
 
#define USE_HAL_LTDC_REGISTER_CALLBACKS   0U /* LTDC register callback disabled */
 
#define USE_HAL_MDIOS_REGISTER_CALLBACKS   0U /* MDIO register callback disabled */
 
#define USE_HAL_MMC_REGISTER_CALLBACKS   0U /* MMC register callback disabled */
 
#define USE_HAL_OPAMP_REGISTER_CALLBACKS   0U /* MDIO register callback disabled */
 
#define USE_HAL_OSPI_REGISTER_CALLBACKS   0U /* OSPI register callback disabled */
 
#define USE_HAL_OTFDEC_REGISTER_CALLBACKS   0U /* OTFDEC register callback disabled */
 
#define USE_HAL_PCD_REGISTER_CALLBACKS   0U /* PCD register callback disabled */
 
#define USE_HAL_QSPI_REGISTER_CALLBACKS   0U /* QSPI register callback disabled */
 
#define USE_HAL_RNG_REGISTER_CALLBACKS   0U /* RNG register callback disabled */
 
#define USE_HAL_RTC_REGISTER_CALLBACKS   0U /* RTC register callback disabled */
 
#define USE_HAL_SAI_REGISTER_CALLBACKS   0U /* SAI register callback disabled */
 
#define USE_HAL_SD_REGISTER_CALLBACKS   0U /* SD register callback disabled */
 
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS   0U /* SMARTCARD register callback disabled */
 
#define USE_HAL_SPDIFRX_REGISTER_CALLBACKS   0U /* SPDIFRX register callback disabled */
 
#define USE_HAL_SMBUS_REGISTER_CALLBACKS   0U /* SMBUS register callback disabled */
 
#define USE_HAL_SPI_REGISTER_CALLBACKS   0U /* SPI register callback disabled */
 
#define USE_HAL_SWPMI_REGISTER_CALLBACKS   0U /* SWPMI register callback disabled */
 
#define USE_HAL_TIM_REGISTER_CALLBACKS   0U /* TIM register callback disabled */
 
#define USE_HAL_UART_REGISTER_CALLBACKS   0U /* UART register callback disabled */
 
#define USE_HAL_USART_REGISTER_CALLBACKS   0U /* USART register callback disabled */
 
#define USE_HAL_WWDG_REGISTER_CALLBACKS   0U /* WWDG register callback disabled */
 
#define ETH_TX_DESC_CNT   4U /* number of Ethernet Tx DMA descriptors */
 
#define ETH_RX_DESC_CNT   4U /* number of Ethernet Rx DMA descriptors */
 
#define ETH_MAC_ADDR0   (0x02UL)
 
#define ETH_MAC_ADDR1   (0x00UL)
 
#define ETH_MAC_ADDR2   (0x00UL)
 
#define ETH_MAC_ADDR3   (0x00UL)
 
#define ETH_MAC_ADDR4   (0x00UL)
 
#define ETH_MAC_ADDR5   (0x00UL)
 
#define assert_param(expr)   ((void)0U)
 Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code. More...
 

Detailed Description

HAL configuration template file. This file should be copied to the application folder and renamed to stm32h7xx_hal_conf.h.

Author
MCD Application Team
Attention

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Macro Definition Documentation

◆ assert_param

#define assert_param (   expr)    ((void)0U)

Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code.

Include module's header file

◆ CSI_VALUE

#define CSI_VALUE   (4000000UL)

Internal oscillator (CSI) default value. This value is the default CSI value after Reset.

Value of the Internal oscillator in Hz

◆ EXTERNAL_CLOCK_VALUE

#define EXTERNAL_CLOCK_VALUE   12288000UL

External clock source for I2S peripheral This value is used by the I2S HAL module to compute the I2S clock source frequency, this source is inserted directly through I2S_CKIN pad.

< Value of the Internal Low Speed oscillator in Hz The real value may vary depending on the variations in voltage and temperature. Value of the External clock in Hz

◆ HSE_STARTUP_TIMEOUT

#define HSE_STARTUP_TIMEOUT   (100UL)

Time out for HSE start up, in ms

◆ HSE_VALUE

#define HSE_VALUE   (25000000UL)

Adjust the value of External High Speed oscillator (HSE) used in your application. This value is used by the RCC HAL module to compute the system frequency (when HSE is used as system clock source, directly or through the PLL).

Value of the External oscillator in Hz

◆ HSI_VALUE

#define HSI_VALUE   (64000000UL)

Internal High Speed oscillator (HSI) value. This value is used by the RCC HAL module to compute the system frequency (when HSI is used as system clock source, directly or through the PLL).

Value of the Internal oscillator in Hz

◆ LSE_STARTUP_TIMEOUT

#define LSE_STARTUP_TIMEOUT   (5000UL)

Time out for LSE start up, in ms

◆ LSE_VALUE

#define LSE_VALUE   (32768UL)

External Low Speed oscillator (LSE) value. This value is used by the UART, RTC HAL module to compute the system frequency.

Value of the External oscillator in Hz

◆ LSI_VALUE

#define LSI_VALUE   (32000UL)

LSI Typical Value in Hz

◆ TICK_INT_PRIORITY

#define TICK_INT_PRIORITY   (0x0FUL)

tick interrupt priority

◆ USE_SD_TRANSCEIVER

#define USE_SD_TRANSCEIVER   0U

use uSD Transceiver

◆ USE_SPI_CRC

#define USE_SPI_CRC   1U

use CRC in SPI

◆ VDD_VALUE

#define VDD_VALUE   (3300UL)

This is the HAL system configuration section.

Value of VDD in mv