L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
stm32wlxx_hal_conf.h File Reference

HAL configuration file. More...

#include "stm32wlxx_hal_dma.h"
#include "stm32wlxx_hal_adc.h"
#include "stm32wlxx_hal_cortex.h"
#include "stm32wlxx_hal_exti.h"
#include "stm32wlxx_hal_flash.h"
#include "stm32wlxx_hal_gpio.h"
#include "stm32wlxx_hal_i2c.h"
#include "stm32wlxx_hal_pwr.h"
#include "stm32wlxx_hal_rcc.h"
#include "stm32wlxx_hal_rtc.h"
#include "stm32wlxx_hal_spi.h"
#include "stm32wlxx_hal_subghz.h"
#include "stm32wlxx_hal_uart.h"
Include dependency graph for stm32wlxx_hal_conf.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_I2C_MODULE_ENABLED
#define HAL_RTC_MODULE_ENABLED
#define HAL_SPI_MODULE_ENABLED
#define HAL_SUBGHZ_MODULE_ENABLED
#define HAL_UART_MODULE_ENABLED
#define HAL_EXTI_MODULE_ENABLED
#define HAL_CORTEX_MODULE_ENABLED
#define HAL_DMA_MODULE_ENABLED
#define HAL_FLASH_MODULE_ENABLED
#define HAL_GPIO_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED
#define USE_HAL_ADC_REGISTER_CALLBACKS   0u
 This is the list of modules where register callback can be used.
#define USE_HAL_COMP_REGISTER_CALLBACKS   0u
#define USE_HAL_CRYP_REGISTER_CALLBACKS   0u
#define USE_HAL_DAC_REGISTER_CALLBACKS   0u
#define USE_HAL_I2C_REGISTER_CALLBACKS   0u
#define USE_HAL_I2S_REGISTER_CALLBACKS   0u
#define USE_HAL_IRDA_REGISTER_CALLBACKS   0u
#define USE_HAL_LPTIM_REGISTER_CALLBACKS   0u
#define USE_HAL_PKA_REGISTER_CALLBACKS   0u
#define USE_HAL_RNG_REGISTER_CALLBACKS   0u
#define USE_HAL_RTC_REGISTER_CALLBACKS   0u
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS   0u
#define USE_HAL_SMBUS_REGISTER_CALLBACKS   0u
#define USE_HAL_SPI_REGISTER_CALLBACKS   0u
#define USE_HAL_SUBGHZ_REGISTER_CALLBACKS   0u
#define USE_HAL_TIM_REGISTER_CALLBACKS   0u
#define USE_HAL_UART_REGISTER_CALLBACKS   0u
#define USE_HAL_USART_REGISTER_CALLBACKS   0u
#define USE_HAL_WWDG_REGISTER_CALLBACKS   0u
#define HSE_VALUE   32000000UL
 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 HSE_STARTUP_TIMEOUT   100UL
#define MSI_VALUE   4000000UL
 Internal Multiple Speed oscillator (MSI) default value. This value is the default MSI range value after Reset.
#define HSI_VALUE   16000000UL
 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 LSI_VALUE   32000UL
 Internal Low Speed oscillator (LSI) 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.
#define HSI48_VALUE   48000000UL
 Internal Multiple Speed oscillator (HSI48) default value. This value is the default HSI48 range value after Reset.
#define LSE_STARTUP_TIMEOUT   5000UL
#define VDD_VALUE   3300U
 This is the HAL system configuration section.
#define TICK_INT_PRIORITY   ((1uL <<__NVIC_PRIO_BITS) - 1uL)
#define USE_RTOS   0U
#define PREFETCH_ENABLE   0U
#define INSTRUCTION_CACHE_ENABLE   1U
#define DATA_CACHE_ENABLE   1U
#define USE_SPI_CRC   1U
 Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code.
#define USE_HAL_CRYP_SUSPEND_RESUME   1U
#define assert_param(expr)
 Include module's header file.

Detailed Description

HAL configuration file.

Author
MCD Application Team
Attention

Copyright (c) 2020 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.

Definition in file stm32wlxx_hal_conf.h.

Macro Definition Documentation

◆ assert_param

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

Include module's header file.

Definition at line 330 of file stm32wlxx_hal_conf.h.

◆ DATA_CACHE_ENABLE

#define DATA_CACHE_ENABLE   1U

Definition at line 166 of file stm32wlxx_hal_conf.h.

◆ HAL_ADC_MODULE_ENABLED

#define HAL_ADC_MODULE_ENABLED

Definition at line 37 of file stm32wlxx_hal_conf.h.

◆ HAL_CORTEX_MODULE_ENABLED

#define HAL_CORTEX_MODULE_ENABLED

Definition at line 62 of file stm32wlxx_hal_conf.h.

◆ HAL_DMA_MODULE_ENABLED

#define HAL_DMA_MODULE_ENABLED

Definition at line 63 of file stm32wlxx_hal_conf.h.

◆ HAL_EXTI_MODULE_ENABLED

#define HAL_EXTI_MODULE_ENABLED

Definition at line 61 of file stm32wlxx_hal_conf.h.

◆ HAL_FLASH_MODULE_ENABLED

#define HAL_FLASH_MODULE_ENABLED

Definition at line 64 of file stm32wlxx_hal_conf.h.

◆ HAL_GPIO_MODULE_ENABLED

#define HAL_GPIO_MODULE_ENABLED

Definition at line 65 of file stm32wlxx_hal_conf.h.

◆ HAL_I2C_MODULE_ENABLED

#define HAL_I2C_MODULE_ENABLED

Definition at line 44 of file stm32wlxx_hal_conf.h.

◆ HAL_MODULE_ENABLED

#define HAL_MODULE_ENABLED

This is the list of modules to be used in the HAL driver.

Definition at line 36 of file stm32wlxx_hal_conf.h.

◆ HAL_PWR_MODULE_ENABLED

#define HAL_PWR_MODULE_ENABLED

Definition at line 66 of file stm32wlxx_hal_conf.h.

◆ HAL_RCC_MODULE_ENABLED

#define HAL_RCC_MODULE_ENABLED

Definition at line 67 of file stm32wlxx_hal_conf.h.

◆ HAL_RTC_MODULE_ENABLED

#define HAL_RTC_MODULE_ENABLED

Definition at line 52 of file stm32wlxx_hal_conf.h.

◆ HAL_SPI_MODULE_ENABLED

#define HAL_SPI_MODULE_ENABLED

Definition at line 55 of file stm32wlxx_hal_conf.h.

◆ HAL_SUBGHZ_MODULE_ENABLED

#define HAL_SUBGHZ_MODULE_ENABLED

Definition at line 56 of file stm32wlxx_hal_conf.h.

◆ HAL_UART_MODULE_ENABLED

#define HAL_UART_MODULE_ENABLED

Definition at line 58 of file stm32wlxx_hal_conf.h.

◆ HSE_STARTUP_TIMEOUT

#define HSE_STARTUP_TIMEOUT   100UL

Time out for HSE start up, in ms

Definition at line 105 of file stm32wlxx_hal_conf.h.

◆ HSE_VALUE

#define HSE_VALUE   32000000UL

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

Definition at line 101 of file stm32wlxx_hal_conf.h.

Referenced by SystemCoreClockUpdate().

◆ HSI48_VALUE

#define HSI48_VALUE   48000000UL

Internal Multiple Speed oscillator (HSI48) default value. This value is the default HSI48 range value after Reset.

Value of the Internal oscillator in Hz

Definition at line 147 of file stm32wlxx_hal_conf.h.

◆ HSI_VALUE

#define HSI_VALUE   16000000UL

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

Definition at line 122 of file stm32wlxx_hal_conf.h.

Referenced by SystemCoreClockUpdate().

◆ INSTRUCTION_CACHE_ENABLE

#define INSTRUCTION_CACHE_ENABLE   1U

Definition at line 165 of file stm32wlxx_hal_conf.h.

◆ LSE_STARTUP_TIMEOUT

#define LSE_STARTUP_TIMEOUT   5000UL

Time out for LSE start up, in ms

Definition at line 151 of file stm32wlxx_hal_conf.h.

◆ 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 Internal Low Speed oscillator in Hz The real value may vary depending on the variations in voltage and temperature. Value of the External oscillator in Hz

Definition at line 139 of file stm32wlxx_hal_conf.h.

◆ LSI_VALUE

#define LSI_VALUE   32000UL

Internal Low Speed oscillator (LSI) value.

LSI Typical Value in Hz

Definition at line 129 of file stm32wlxx_hal_conf.h.

◆ MSI_VALUE

#define MSI_VALUE   4000000UL

Internal Multiple Speed oscillator (MSI) default value. This value is the default MSI range value after Reset.

Value of the Internal oscillator in Hz

Definition at line 113 of file stm32wlxx_hal_conf.h.

◆ PREFETCH_ENABLE

#define PREFETCH_ENABLE   0U

Definition at line 164 of file stm32wlxx_hal_conf.h.

◆ TICK_INT_PRIORITY

#define TICK_INT_PRIORITY   ((1uL <<__NVIC_PRIO_BITS) - 1uL)

tick interrupt priority (lowest by default)

Definition at line 162 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_ADC_REGISTER_CALLBACKS

#define USE_HAL_ADC_REGISTER_CALLBACKS   0u

This is the list of modules where register callback can be used.

Definition at line 73 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_COMP_REGISTER_CALLBACKS

#define USE_HAL_COMP_REGISTER_CALLBACKS   0u

Definition at line 74 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_CRYP_REGISTER_CALLBACKS

#define USE_HAL_CRYP_REGISTER_CALLBACKS   0u

Definition at line 75 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_CRYP_SUSPEND_RESUME

#define USE_HAL_CRYP_SUSPEND_RESUME   1U

Definition at line 186 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_DAC_REGISTER_CALLBACKS

#define USE_HAL_DAC_REGISTER_CALLBACKS   0u

Definition at line 76 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_I2C_REGISTER_CALLBACKS

#define USE_HAL_I2C_REGISTER_CALLBACKS   0u

Definition at line 77 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_I2S_REGISTER_CALLBACKS

#define USE_HAL_I2S_REGISTER_CALLBACKS   0u

Definition at line 78 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_IRDA_REGISTER_CALLBACKS

#define USE_HAL_IRDA_REGISTER_CALLBACKS   0u

Definition at line 79 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_LPTIM_REGISTER_CALLBACKS

#define USE_HAL_LPTIM_REGISTER_CALLBACKS   0u

Definition at line 80 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_PKA_REGISTER_CALLBACKS

#define USE_HAL_PKA_REGISTER_CALLBACKS   0u

Definition at line 81 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_RNG_REGISTER_CALLBACKS

#define USE_HAL_RNG_REGISTER_CALLBACKS   0u

Definition at line 82 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_RTC_REGISTER_CALLBACKS

#define USE_HAL_RTC_REGISTER_CALLBACKS   0u

Definition at line 83 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_SMARTCARD_REGISTER_CALLBACKS

#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS   0u

Definition at line 84 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_SMBUS_REGISTER_CALLBACKS

#define USE_HAL_SMBUS_REGISTER_CALLBACKS   0u

Definition at line 85 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_SPI_REGISTER_CALLBACKS

#define USE_HAL_SPI_REGISTER_CALLBACKS   0u

Definition at line 86 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_SUBGHZ_REGISTER_CALLBACKS

#define USE_HAL_SUBGHZ_REGISTER_CALLBACKS   0u

Definition at line 87 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_TIM_REGISTER_CALLBACKS

#define USE_HAL_TIM_REGISTER_CALLBACKS   0u

Definition at line 88 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_UART_REGISTER_CALLBACKS

#define USE_HAL_UART_REGISTER_CALLBACKS   0u

Definition at line 89 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_USART_REGISTER_CALLBACKS

#define USE_HAL_USART_REGISTER_CALLBACKS   0u

Definition at line 90 of file stm32wlxx_hal_conf.h.

◆ USE_HAL_WWDG_REGISTER_CALLBACKS

#define USE_HAL_WWDG_REGISTER_CALLBACKS   0u

Definition at line 91 of file stm32wlxx_hal_conf.h.

◆ USE_RTOS

#define USE_RTOS   0U

Definition at line 163 of file stm32wlxx_hal_conf.h.

◆ USE_SPI_CRC

#define USE_SPI_CRC   1U

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

Definition at line 182 of file stm32wlxx_hal_conf.h.

◆ VDD_VALUE

#define VDD_VALUE   3300U

This is the HAL system configuration section.

Value of VDD in mv

Definition at line 161 of file stm32wlxx_hal_conf.h.