![]() |
HT32SX Monarch Scan
Monarch Scan application for HT32SX
|
HAL configuration template file. This file should be copied to the application folder and renamed to stm32l0xx_hal_conf.h. More...
#include "stm32l0xx_hal_rcc.h"#include "stm32l0xx_hal_gpio.h"#include "stm32l0xx_hal_dma.h"#include "stm32l0xx_hal_cortex.h"#include "stm32l0xx_hal_flash.h"#include "stm32l0xx_hal_i2c.h"#include "stm32l0xx_hal_pwr.h"#include "stm32l0xx_hal_rtc.h"#include "stm32l0xx_hal_spi.h"#include "stm32l0xx_hal_tim.h"#include "stm32l0xx_hal_uart.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_RTC_MODULE_ENABLED |
| #define | HAL_SPI_MODULE_ENABLED |
| #define | HAL_TIM_MODULE_ENABLED |
| #define | HAL_UART_MODULE_ENABLED |
| #define | HAL_GPIO_MODULE_ENABLED |
| #define | HAL_DMA_MODULE_ENABLED |
| #define | HAL_I2C_MODULE_ENABLED |
| #define | HAL_RCC_MODULE_ENABLED |
| #define | HAL_FLASH_MODULE_ENABLED |
| #define | HAL_PWR_MODULE_ENABLED |
| #define | HAL_CORTEX_MODULE_ENABLED |
| #define | HSE_VALUE ((uint32_t)8000000U) |
| 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 ((uint32_t)100U) |
| #define | MSI_VALUE ((uint32_t)2097000U) |
| Internal Multiple Speed oscillator (MSI) default value. This value is the default MSI range value after Reset. More... | |
| #define | HSI_VALUE ((uint32_t)16000000U) |
| 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 | HSI48_VALUE ((uint32_t)48000000U) |
| Internal High Speed oscillator for USB (HSI48) value. More... | |
| #define | LSI_VALUE ((uint32_t)37000U) |
| Internal Low Speed oscillator (LSI) value. More... | |
| #define | LSE_VALUE ((uint32_t)32768U) |
| 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 ((uint32_t)5000U) |
| #define | VDD_VALUE ((uint32_t)3300U) |
| This is the HAL system configuration section. More... | |
| #define | TICK_INT_PRIORITY ((uint32_t)0U) |
| #define | USE_RTOS 0U |
| #define | PREFETCH_ENABLE 0U |
| #define | PREREAD_ENABLE 1U |
| #define | BUFFER_CACHE_DISABLE 0U |
| #define | assert_param(expr) ((void)0U) |
| Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code. More... | |
HAL configuration template file. This file should be copied to the application folder and renamed to stm32l0xx_hal_conf.h.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
| #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
| #define HSE_STARTUP_TIMEOUT ((uint32_t)100U) |
Time out for HSE start up, in ms
| #define HSE_VALUE ((uint32_t)8000000U) |
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 HSI48_VALUE ((uint32_t)48000000U) |
Internal High Speed oscillator for USB (HSI48) value.
Value of the Internal High Speed oscillator for USB in Hz. The real value may vary depending on the variations in voltage and temperature.
| #define HSI_VALUE ((uint32_t)16000000U) |
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 ((uint32_t)5000U) |
Time out for LSE start up, in ms
| #define LSE_VALUE ((uint32_t)32768U) |
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
| #define LSI_VALUE ((uint32_t)37000U) |
Internal Low Speed oscillator (LSI) value.
LSI Typical Value in Hz
| #define MSI_VALUE ((uint32_t)2097000U) |
Internal Multiple Speed oscillator (MSI) default value. This value is the default MSI range value after Reset.
Value of the Internal oscillator in Hz
| #define TICK_INT_PRIORITY ((uint32_t)0U) |
tick interrupt priority
| #define VDD_VALUE ((uint32_t)3300U) |
This is the HAL system configuration section.
Value of VDD in mv