|
@@ -28,7 +28,7 @@ extern "C" {
|
28
|
28
|
/* Exported constants --------------------------------------------------------*/
|
29
|
29
|
|
30
|
30
|
/* ########################## Module Selection ############################## */
|
31
|
|
-/**
|
|
31
|
+ /**
|
32
|
32
|
* @brief This is the list of modules to be used in the HAL driver
|
33
|
33
|
*/
|
34
|
34
|
#define HAL_MODULE_ENABLED
|
|
@@ -82,7 +82,7 @@ extern "C" {
|
82
|
82
|
/* #define HAL_MMC_MODULE_ENABLED */
|
83
|
83
|
|
84
|
84
|
/* ########################## HSE/HSI Values adaptation ##################### */
|
85
|
|
-/**
|
|
85
|
+ /**
|
86
|
86
|
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
|
87
|
87
|
* This value is used by the RCC HAL module to compute the system frequency
|
88
|
88
|
* (when HSE is used as system clock source, directly or through the PLL).
|
|
@@ -95,7 +95,7 @@ extern "C" {
|
95
|
95
|
#define HSE_STARTUP_TIMEOUT ((uint32_t)100U) /*!< Time out for HSE start up, in ms */
|
96
|
96
|
#endif /* HSE_STARTUP_TIMEOUT */
|
97
|
97
|
|
98
|
|
-/**
|
|
98
|
+ /**
|
99
|
99
|
* @brief Internal High Speed oscillator (HSI) value.
|
100
|
100
|
* This value is used by the RCC HAL module to compute the system frequency
|
101
|
101
|
* (when HSI is used as system clock source, directly or through the PLL).
|
|
@@ -104,7 +104,7 @@ extern "C" {
|
104
|
104
|
#define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
|
105
|
105
|
#endif /* HSI_VALUE */
|
106
|
106
|
|
107
|
|
-/**
|
|
107
|
+ /**
|
108
|
108
|
* @brief Internal Low Speed oscillator (LSI) value.
|
109
|
109
|
*/
|
110
|
110
|
#if !defined (LSI_VALUE)
|
|
@@ -112,7 +112,7 @@ extern "C" {
|
112
|
112
|
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
|
113
|
113
|
The real value may vary depending on the variations
|
114
|
114
|
in voltage and temperature.*/
|
115
|
|
-/**
|
|
115
|
+ /**
|
116
|
116
|
* @brief External Low Speed oscillator (LSE) value.
|
117
|
117
|
*/
|
118
|
118
|
#if !defined (LSE_VALUE)
|
|
@@ -123,7 +123,7 @@ in voltage and temperature.*/
|
123
|
123
|
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
|
124
|
124
|
#endif /* LSE_STARTUP_TIMEOUT */
|
125
|
125
|
|
126
|
|
-/**
|
|
126
|
+ /**
|
127
|
127
|
* @brief External clock source for I2S peripheral
|
128
|
128
|
* This value is used by the I2S HAL module to compute the I2S clock source
|
129
|
129
|
* frequency, this source is inserted directly through I2S_CKIN pad.
|
|
@@ -136,7 +136,7 @@ in voltage and temperature.*/
|
136
|
136
|
=== you can define the HSE value in your toolchain compiler preprocessor. */
|
137
|
137
|
|
138
|
138
|
/* ########################### System Configuration ######################### */
|
139
|
|
-/**
|
|
139
|
+ /**
|
140
|
140
|
* @brief This is the HAL system configuration section
|
141
|
141
|
*/
|
142
|
142
|
#define VDD_VALUE ((uint32_t)3300U) /*!< Value of VDD in mv */
|
|
@@ -186,7 +186,7 @@ in voltage and temperature.*/
|
186
|
186
|
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
|
187
|
187
|
|
188
|
188
|
/* ########################## Assert Selection ############################## */
|
189
|
|
-/**
|
|
189
|
+ /**
|
190
|
190
|
* @brief Uncomment the line below to expanse the "assert_param" macro in the
|
191
|
191
|
* HAL drivers code
|
192
|
192
|
*/
|
|
@@ -258,7 +258,7 @@ in voltage and temperature.*/
|
258
|
258
|
#define USE_SPI_CRC 0U
|
259
|
259
|
|
260
|
260
|
/* Includes ------------------------------------------------------------------*/
|
261
|
|
-/**
|
|
261
|
+ /**
|
262
|
262
|
* @brief Include module's header file
|
263
|
263
|
*/
|
264
|
264
|
|
|
@@ -456,7 +456,7 @@ in voltage and temperature.*/
|
456
|
456
|
|
457
|
457
|
/* Exported macro ------------------------------------------------------------*/
|
458
|
458
|
#ifdef USE_FULL_ASSERT
|
459
|
|
-/**
|
|
459
|
+ /**
|
460
|
460
|
* @brief The assert_param macro is used for function's parameters check.
|
461
|
461
|
* @param expr: If expr is false, it calls assert_failed function
|
462
|
462
|
* which reports the name of the source file and the source
|