|
STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
|
Macros | |
| #define | HSE_VALUE ((uint32_t)8000000U) |
| Value of the External oscillator in Hz. More... | |
| #define | HSE_STARTUP_TIMEOUT ((uint32_t)100U) |
| Timeout for HSE start up, in ms. | |
| #define | MSI_VALUE ((uint32_t)4000000U) |
| Internal Multiple Speed oscillator (MSI) default value in Hz. More... | |
| #define | HSI_VALUE ((uint32_t)16000000U) |
| Internal High Speed oscillator (HSI) value in Hz. More... | |
| #define | HSI48_VALUE ((uint32_t)48000000U) |
| Internal High Speed oscillator (HSI48) value for USB FS, SDMMC and RNG in Hz. More... | |
| #define | LSI_VALUE ((uint32_t)32000U) |
| Internal Low Speed oscillator (LSI) value in Hz. More... | |
| #define | LSE_VALUE ((uint32_t)32768U) |
| External Low Speed oscillator (LSE) value in Hz. More... | |
| #define | LSE_STARTUP_TIMEOUT ((uint32_t)5000U) |
| Time out for LSE start up, in ms. | |
| #define | EXTERNAL_SAI1_CLOCK_VALUE ((uint32_t)2097000U) |
| External clock source for SAI1 peripheral in Hz. More... | |
| #define | EXTERNAL_SAI2_CLOCK_VALUE ((uint32_t)2097000U) |
| External clock source for SAI2 peripheral in Hz. More... | |
| #define | VDD_VALUE 3300U |
| #define | TICK_INT_PRIORITY 0U |
| #define | USE_RTOS 0U |
| #define | PREFETCH_ENABLE 0U |
| #define | INSTRUCTION_CACHE_ENABLE 1U |
| #define | DATA_CACHE_ENABLE 1U |
| #define | USE_SPI_CRC 0U |
| #define | assert_param(expr) ((void)0U) |
| The assert_param macro is used for function parameter check. More... | |
| #define assert_param | ( | expr | ) | ((void)0U) |
The assert_param macro is used for function parameter check.
| expr | If expr is false, it calls assert_failed functionwhich reports the name of the source file and the source line number of the call that failed. If expr is true, it returns no value. |
Definition at line 461 of file stm32l4xx_hal_conf.h.
| #define DATA_CACHE_ENABLE 1U |
Enable the data cache.
Definition at line 192 of file stm32l4xx_hal_conf.h.
| #define EXTERNAL_SAI1_CLOCK_VALUE ((uint32_t)2097000U) |
External clock source for SAI1 peripheral in Hz.
This value is used by the RCC HAL module to compute the SAI1 & SAI2 clock source frequency.
Definition at line 170 of file stm32l4xx_hal_conf.h.
| #define EXTERNAL_SAI2_CLOCK_VALUE ((uint32_t)2097000U) |
External clock source for SAI2 peripheral in Hz.
This value is used by the RCC HAL module to compute the SAI1 & SAI2 clock source frequency.
Definition at line 180 of file stm32l4xx_hal_conf.h.
| #define HSE_VALUE ((uint32_t)8000000U) |
Value of the External oscillator in Hz.
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).
Definition at line 94 of file stm32l4xx_hal_conf.h.
| #define HSI48_VALUE ((uint32_t)48000000U) |
Internal High Speed oscillator (HSI48) value for USB FS, SDMMC and RNG in Hz.
This internal oscillator is mainly dedicated to provide a high precision clock to the USB peripheral by means of a special Clock Recovery System (CRS) circuitry. When the CRS is not used, the HSI48 RC oscillator runs on it default frequency which is subject to manufacturing process variations.
Definition at line 133 of file stm32l4xx_hal_conf.h.
| #define HSI_VALUE ((uint32_t)16000000U) |
Internal High Speed oscillator (HSI) value in Hz.
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).
Definition at line 120 of file stm32l4xx_hal_conf.h.
| #define INSTRUCTION_CACHE_ENABLE 1U |
Enable the instruction cache.
Definition at line 191 of file stm32l4xx_hal_conf.h.
| #define LSE_VALUE ((uint32_t)32768U) |
External Low Speed oscillator (LSE) value in Hz.
This value is used by the UART, RTC HAL module to compute the system frequency.
Definition at line 153 of file stm32l4xx_hal_conf.h.
| #define LSI_VALUE ((uint32_t)32000U) |
Internal Low Speed oscillator (LSI) value in Hz.
The real value may vary depending on the variations in voltage and temperature.
Definition at line 143 of file stm32l4xx_hal_conf.h.
| #define MSI_VALUE ((uint32_t)4000000U) |
Internal Multiple Speed oscillator (MSI) default value in Hz.
This value is the default MSI range value after Reset.
Definition at line 110 of file stm32l4xx_hal_conf.h.
| #define PREFETCH_ENABLE 0U |
Enable the prefetch.
Definition at line 190 of file stm32l4xx_hal_conf.h.
| #define TICK_INT_PRIORITY 0U |
Tick interrupt priority.
Definition at line 188 of file stm32l4xx_hal_conf.h.
| #define USE_RTOS 0U |
Use the HAL RTOS interface.
Definition at line 189 of file stm32l4xx_hal_conf.h.
| #define USE_SPI_CRC 0U |
Enable the CRC feature inside HAL SPI driver.
Definition at line 246 of file stm32l4xx_hal_conf.h.
| #define VDD_VALUE 3300U |
Value of VDD in mV.
Definition at line 187 of file stm32l4xx_hal_conf.h.