File stm32h7xx_hal_conf.h¶
FileList > external-docs > libDaisy > src > sys > stm32h7xx_hal_conf.h
Go to the source code of this file
#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"
Macros¶
Type | Name |
---|---|
define | CSI_VALUE ((uint32\_t)4000000) Internal oscillator (CSI) default value. This value is the default CSI value after Reset. |
define | ETH_MAC_ADDR0 ((uint8\_t)0x02) |
define | ETH_MAC_ADDR1 ((uint8\_t)0x00) |
define | ETH_MAC_ADDR2 ((uint8\_t)0x00) |
define | ETH_MAC_ADDR3 ((uint8\_t)0x00) |
define | ETH_MAC_ADDR4 ((uint8\_t)0x00) |
define | ETH_MAC_ADDR5 ((uint8\_t)0x00) |
define | ETH_RX_DESC_CNT 4 /\* number of Ethernet Rx DMA descriptors \*/ |
define | ETH_TX_DESC_CNT 4 /\* number of Ethernet Tx DMA descriptors \*/ |
define | EXTERNAL_CLOCK_VALUE 12288000U 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. |
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_DMA2D_MODULE_ENABLED |
define | HAL_DMA_MODULE_ENABLED |
define | HAL_DSI_MODULE_ENABLED |
define | HAL_DTS_MODULE_ENABLED |
define | HAL_ETH_MODULE_ENABLED |
define | HAL_EXTI_MODULE_ENABLED |
define | HAL_FDCAN_MODULE_ENABLED |
define | HAL_FLASH_MODULE_ENABLED |
define | HAL_FMAC_MODULE_ENABLED |
define | HAL_GFXMMU_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_MODULE_ENABLED This is the list of modules to be used in the HAL driver. |
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_PSSI_MODULE_ENABLED |
define | HAL_PWR_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_SDRAM_MODULE_ENABLED |
define | HAL_SD_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_STARTUP_TIMEOUT ((uint32\_t)5000) |
define | HSE_VALUE ((uint32\_t)16000000) 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). |
define | HSI_VALUE ((uint32\_t)64000000) 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). |
define | LSE_STARTUP_TIMEOUT ((uint32\_t)5000) |
define | LSE_VALUE ((uint32\_t)32768) External Low Speed oscillator (LSE) value. This value is used by the UART, RTC HAL module to compute the system frequency. |
define | LSI_VALUE ((uint32\_t)32000) |
define | TICK_INT_PRIORITY ((uint32\_t)0x0EUL) |
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_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_ETH_REGISTER_CALLBACKS 0U /\* ETH register callback disabled \*/ |
define | USE_HAL_FDCAN_REGISTER_CALLBACKS 0U /\* FDCAN 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_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_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_NAND_REGISTER_CALLBACKS 0U /\* NAND register callback disabled \*/ |
define | USE_HAL_NOR_REGISTER_CALLBACKS 0U /\* NOR register callback disabled \*/ |
define | USE_HAL_OPAMP_REGISTER_CALLBACKS 0U /\* MDIO 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_SDRAM_REGISTER_CALLBACKS 0U /\* SDRAM register callback disabled \*/ |
define | USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /\* SMBUS register callback disabled \*/ |
define | USE_HAL_SPDIFRX_REGISTER_CALLBACKS 0U /\* SPDIFRX register callback disabled \*/ |
define | USE_HAL_SPI_REGISTER_CALLBACKS 0U /\* SPI register callback disabled \*/ |
define | USE_HAL_SRAM_REGISTER_CALLBACKS 0U /\* SRAM 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_WWDG_REGISTER_CALLBACKS 0U /\* WWDG register callback disabled \*/ |
define | USE_RTOS 0 |
define | USE_SD_TRANSCEIVER 0U |
define | VDD_VALUE (3300UL) This is the HAL system configuration section. |
define | assert_param (expr) ((void)0U) Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code. |
Macro Definition Documentation¶
define CSI_VALUE¶
Internal oscillator (CSI) default value. This value is the default CSI value after Reset.
Value of the Internal oscillator in Hz
define ETH_MAC_ADDR0¶
define ETH_MAC_ADDR1¶
define ETH_MAC_ADDR2¶
define ETH_MAC_ADDR3¶
define ETH_MAC_ADDR4¶
define ETH_MAC_ADDR5¶
define ETH_RX_DESC_CNT¶
define ETH_TX_DESC_CNT¶
define EXTERNAL_CLOCK_VALUE¶
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
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_DMA2D_MODULE_ENABLED¶
define HAL_DMA_MODULE_ENABLED¶
define HAL_DSI_MODULE_ENABLED¶
define HAL_DTS_MODULE_ENABLED¶
define HAL_ETH_MODULE_ENABLED¶
define HAL_EXTI_MODULE_ENABLED¶
define HAL_FDCAN_MODULE_ENABLED¶
define HAL_FLASH_MODULE_ENABLED¶
define HAL_FMAC_MODULE_ENABLED¶
define HAL_GFXMMU_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_MODULE_ENABLED¶
This is the list of modules to be used in the HAL driver.
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_PSSI_MODULE_ENABLED¶
define HAL_PWR_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_SDRAM_MODULE_ENABLED¶
define HAL_SD_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_STARTUP_TIMEOUT¶
Time out for HSE start up, in ms
define HSE_VALUE¶
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
define HSI_VALUE¶
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
define LSE_STARTUP_TIMEOUT¶
Time out for LSE start up, in ms
define LSE_VALUE¶
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
define LSI_VALUE¶
LSI Typical Value in Hz
define TICK_INT_PRIORITY¶
tick interrupt priority
define USE_HAL_ADC_REGISTER_CALLBACKS¶
define USE_HAL_CEC_REGISTER_CALLBACKS¶
define USE_HAL_COMP_REGISTER_CALLBACKS¶
define USE_HAL_CRYP_REGISTER_CALLBACKS¶
define USE_HAL_DAC_REGISTER_CALLBACKS¶
define USE_HAL_DCMI_REGISTER_CALLBACKS¶
define USE_HAL_DFSDM_REGISTER_CALLBACKS¶
define USE_HAL_DMA2D_REGISTER_CALLBACKS¶
define USE_HAL_DSI_REGISTER_CALLBACKS¶
define USE_HAL_ETH_REGISTER_CALLBACKS¶
define USE_HAL_FDCAN_REGISTER_CALLBACKS¶
define USE_HAL_HASH_REGISTER_CALLBACKS¶
define USE_HAL_HCD_REGISTER_CALLBACKS¶
define USE_HAL_HRTIM_REGISTER_CALLBACKS¶
define USE_HAL_I2C_REGISTER_CALLBACKS¶
define USE_HAL_I2S_REGISTER_CALLBACKS¶
define USE_HAL_JPEG_REGISTER_CALLBACKS¶
define USE_HAL_LPTIM_REGISTER_CALLBACKS¶
define USE_HAL_LTDC_REGISTER_CALLBACKS¶
define USE_HAL_MDIOS_REGISTER_CALLBACKS¶
define USE_HAL_NAND_REGISTER_CALLBACKS¶
define USE_HAL_NOR_REGISTER_CALLBACKS¶
define USE_HAL_OPAMP_REGISTER_CALLBACKS¶
define USE_HAL_PCD_REGISTER_CALLBACKS¶
define USE_HAL_QSPI_REGISTER_CALLBACKS¶
define USE_HAL_RNG_REGISTER_CALLBACKS¶
define USE_HAL_RTC_REGISTER_CALLBACKS¶
define USE_HAL_SAI_REGISTER_CALLBACKS¶
define USE_HAL_SDRAM_REGISTER_CALLBACKS¶
define USE_HAL_SMBUS_REGISTER_CALLBACKS¶
define USE_HAL_SPDIFRX_REGISTER_CALLBACKS¶
define USE_HAL_SPI_REGISTER_CALLBACKS¶
define USE_HAL_SRAM_REGISTER_CALLBACKS¶
define USE_HAL_SWPMI_REGISTER_CALLBACKS¶
define USE_HAL_TIM_REGISTER_CALLBACKS¶
define USE_HAL_WWDG_REGISTER_CALLBACKS¶
define USE_RTOS¶
define USE_SD_TRANSCEIVER¶
use uSD Transceiver
define VDD_VALUE¶
This is the HAL system configuration section.
Value of VDD in mv
define assert_param¶
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code.
Include module's header file
The documentation for this class was generated from the following file external-docs/libDaisy/src/sys/stm32h7xx_hal_conf.h