|
2 | 2 | ******************************************************************************
|
3 | 3 | * @file stm32l0xx_hal_conf.h
|
4 | 4 | * @author MCD Application Team
|
5 |
| - * @brief HAL configuration template file. |
| 5 | + * @brief HAL configuration template file. |
6 | 6 | * This file should be copied to the application folder and renamed
|
7 | 7 | * to stm32l0xx_hal_conf.h.
|
8 | 8 | ******************************************************************************
|
|
17 | 17 | * opensource.org/licenses/BSD-3-Clause
|
18 | 18 | *
|
19 | 19 | ******************************************************************************
|
20 |
| - */ |
| 20 | + */ |
21 | 21 |
|
22 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/
|
23 | 23 | #ifndef __STM32L0xx_HAL_CONF_H
|
|
32 | 32 |
|
33 | 33 | /* ########################## Module Selection ############################## */
|
34 | 34 | /**
|
35 |
| - * @brief This is the list of modules to be used in the HAL driver |
| 35 | + * @brief This is the list of modules to be used in the HAL driver |
36 | 36 | */
|
37 |
| -#define HAL_MODULE_ENABLED |
38 |
| -#define HAL_ADC_MODULE_ENABLED |
39 |
| -#define HAL_COMP_MODULE_ENABLED |
40 |
| -#define HAL_CRC_MODULE_ENABLED |
41 |
| -#define HAL_CRYP_MODULE_ENABLED |
42 |
| -#define HAL_DAC_MODULE_ENABLED |
| 37 | +#define HAL_MODULE_ENABLED |
| 38 | +#define HAL_ADC_MODULE_ENABLED |
| 39 | +#define HAL_COMP_MODULE_ENABLED |
| 40 | +#define HAL_CRC_MODULE_ENABLED |
| 41 | +#define HAL_CRYP_MODULE_ENABLED |
| 42 | +#define HAL_DAC_MODULE_ENABLED |
43 | 43 | #define HAL_DMA_MODULE_ENABLED
|
44 | 44 | #define HAL_FIREWALL_MODULE_ENABLED
|
45 | 45 | #define HAL_FLASH_MODULE_ENABLED
|
46 | 46 | #define HAL_GPIO_MODULE_ENABLED
|
47 | 47 | #define HAL_I2C_MODULE_ENABLED
|
48 |
| -#define HAL_I2S_MODULE_ENABLED |
| 48 | +#define HAL_I2S_MODULE_ENABLED |
49 | 49 | #define HAL_IWDG_MODULE_ENABLED
|
50 |
| -#define HAL_LCD_MODULE_ENABLED |
| 50 | +#define HAL_LCD_MODULE_ENABLED |
51 | 51 | #define HAL_LPTIM_MODULE_ENABLED
|
52 |
| -#define HAL_PWR_MODULE_ENABLED |
53 |
| -#define HAL_RCC_MODULE_ENABLED |
54 |
| -#define HAL_RNG_MODULE_ENABLED |
| 52 | +#define HAL_PWR_MODULE_ENABLED |
| 53 | +#define HAL_RCC_MODULE_ENABLED |
| 54 | +#define HAL_RNG_MODULE_ENABLED |
55 | 55 | #define HAL_RTC_MODULE_ENABLED
|
56 |
| -#define HAL_SPI_MODULE_ENABLED |
| 56 | +#define HAL_SPI_MODULE_ENABLED |
57 | 57 | #define HAL_TIM_MODULE_ENABLED
|
58 |
| -#define HAL_TSC_MODULE_ENABLED |
59 |
| -#define HAL_UART_MODULE_ENABLED |
60 |
| -#define HAL_USART_MODULE_ENABLED |
61 |
| -#define HAL_IRDA_MODULE_ENABLED |
62 |
| -#define HAL_SMARTCARD_MODULE_ENABLED |
63 |
| -#define HAL_SMBUS_MODULE_ENABLED |
64 |
| -#define HAL_WWDG_MODULE_ENABLED |
| 58 | +#define HAL_TSC_MODULE_ENABLED |
| 59 | +#define HAL_UART_MODULE_ENABLED |
| 60 | +#define HAL_USART_MODULE_ENABLED |
| 61 | +#define HAL_IRDA_MODULE_ENABLED |
| 62 | +#define HAL_SMARTCARD_MODULE_ENABLED |
| 63 | +#define HAL_SMBUS_MODULE_ENABLED |
| 64 | +#define HAL_WWDG_MODULE_ENABLED |
65 | 65 | #define HAL_CORTEX_MODULE_ENABLED
|
66 |
| -#define HAL_PCD_MODULE_ENABLED |
| 66 | +#define HAL_PCD_MODULE_ENABLED |
67 | 67 |
|
68 | 68 | /* ########################## Oscillator Values adaptation ####################*/
|
69 | 69 | /**
|
70 | 70 | * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
|
71 | 71 | * This value is used by the RCC HAL module to compute the system frequency
|
72 |
| - * (when HSE is used as system clock source, directly or through the PLL). |
| 72 | + * (when HSE is used as system clock source, directly or through the PLL). |
73 | 73 | */
|
74 |
| -#if !defined (HSE_VALUE) |
| 74 | +#if !defined (HSE_VALUE) |
75 | 75 | #define HSE_VALUE ((uint32_t)8000000U) /*!< Value of the External oscillator in Hz */
|
76 | 76 | #endif /* HSE_VALUE */
|
77 | 77 |
|
|
90 | 90 | /**
|
91 | 91 | * @brief Internal High Speed oscillator (HSI) value.
|
92 | 92 | * This value is used by the RCC HAL module to compute the system frequency
|
93 |
| - * (when HSI is used as system clock source, directly or through the PLL). |
| 93 | + * (when HSI is used as system clock source, directly or through the PLL). |
94 | 94 | */
|
95 | 95 | #if !defined (HSI_VALUE)
|
96 | 96 | #define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
|
|
99 | 99 | /**
|
100 | 100 | * @brief Internal High Speed oscillator for USB (HSI48) value.
|
101 | 101 | */
|
102 |
| -#if !defined (HSI48_VALUE) |
| 102 | +#if !defined (HSI48_VALUE) |
103 | 103 | #define HSI48_VALUE ((uint32_t)48000000U) /*!< Value of the Internal High Speed oscillator for USB in Hz.
|
104 | 104 | The real value may vary depending on the variations
|
105 | 105 | in voltage and temperature. */
|
|
108 | 108 | /**
|
109 | 109 | * @brief Internal Low Speed oscillator (LSI) value.
|
110 | 110 | */
|
111 |
| -#if !defined (LSI_VALUE) |
| 111 | +#if !defined (LSI_VALUE) |
112 | 112 | #define LSI_VALUE ((uint32_t)37000U) /*!< LSI Typical Value in Hz*/
|
113 | 113 | #endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
|
114 | 114 | The real value may vary depending on the variations
|
|
128 | 128 | #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
|
129 | 129 | #endif /* LSE_STARTUP_TIMEOUT */
|
130 | 130 |
|
131 |
| - |
| 131 | + |
132 | 132 | /* Tip: To avoid modifying this file each time you need to use different HSE,
|
133 | 133 | === you can define the HSE value in your toolchain compiler preprocessor. */
|
134 | 134 |
|
135 | 135 | /* ########################### System Configuration ######################### */
|
136 | 136 | /**
|
137 | 137 | * @brief This is the HAL system configuration section
|
138 |
| - */ |
| 138 | + */ |
139 | 139 | #define VDD_VALUE ((uint32_t)3300U) /*!< Value of VDD in mv */
|
140 | 140 | #define TICK_INT_PRIORITY (((uint32_t)1U<<__NVIC_PRIO_BITS) - 1U) /*!< tick interrupt priority */
|
141 |
| -#define USE_RTOS 0U |
| 141 | +#define USE_RTOS 0U |
142 | 142 | #define PREFETCH_ENABLE 1U
|
143 | 143 | #define PREREAD_ENABLE 0U
|
144 | 144 | #define BUFFER_CACHE_DISABLE 0U
|
145 | 145 |
|
146 | 146 | /* ########################## Assert Selection ############################## */
|
147 | 147 | /**
|
148 |
| - * @brief Uncomment the line below to expanse the "assert_param" macro in the |
| 148 | + * @brief Uncomment the line below to expanse the "assert_param" macro in the |
149 | 149 | * HAL drivers code
|
150 | 150 | */
|
151 | 151 | /* #define USE_FULL_ASSERT 1U */
|
|
191 | 191 |
|
192 | 192 | /* Includes ------------------------------------------------------------------*/
|
193 | 193 | /**
|
194 |
| - * @brief Include module's header file |
| 194 | + * @brief Include module's header file |
195 | 195 | */
|
196 | 196 |
|
197 | 197 | #ifdef HAL_RCC_MODULE_ENABLED
|
198 | 198 | #include "stm32l0xx_hal_rcc.h"
|
199 | 199 | #endif /* HAL_RCC_MODULE_ENABLED */
|
200 |
| - |
| 200 | + |
201 | 201 | #ifdef HAL_GPIO_MODULE_ENABLED
|
202 | 202 | #include "stm32l0xx_hal_gpio.h"
|
203 | 203 | #endif /* HAL_GPIO_MODULE_ENABLED */
|
|
233 | 233 | #ifdef HAL_FIREWALL_MODULE_ENABLED
|
234 | 234 | #include "stm32l0xx_hal_firewall.h"
|
235 | 235 | #endif /* HAL_FIREWALL_MODULE_ENABLED */
|
236 |
| - |
| 236 | + |
237 | 237 | #ifdef HAL_FLASH_MODULE_ENABLED
|
238 | 238 | #include "stm32l0xx_hal_flash.h"
|
239 | 239 | #endif /* HAL_FLASH_MODULE_ENABLED */
|
240 |
| - |
| 240 | + |
241 | 241 | #ifdef HAL_I2C_MODULE_ENABLED
|
242 | 242 | #include "stm32l0xx_hal_i2c.h"
|
243 | 243 | #endif /* HAL_I2C_MODULE_ENABLED */
|
|
257 | 257 | #ifdef HAL_LPTIM_MODULE_ENABLED
|
258 | 258 | #include "stm32l0xx_hal_lptim.h"
|
259 | 259 | #endif /* HAL_LPTIM_MODULE_ENABLED */
|
260 |
| - |
| 260 | + |
261 | 261 | #ifdef HAL_PWR_MODULE_ENABLED
|
262 | 262 | #include "stm32l0xx_hal_pwr.h"
|
263 | 263 | #endif /* HAL_PWR_MODULE_ENABLED */
|
|
316 | 316 | * @brief The assert_param macro is used for function's parameters check.
|
317 | 317 | * @param expr If expr is false, it calls assert_failed function
|
318 | 318 | * which reports the name of the source file and the source
|
319 |
| - * line number of the call that failed. |
| 319 | + * line number of the call that failed. |
320 | 320 | * If expr is true, it returns no value.
|
321 | 321 | * @retval None
|
322 | 322 | */
|
|
332 | 332 | #endif
|
333 | 333 |
|
334 | 334 | #endif /* __STM32L0xx_HAL_CONF_H */
|
335 |
| - |
| 335 | + |
336 | 336 |
|
337 | 337 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
338 | 338 |
|
0 commit comments