1
1
/**
2
2
******************************************************************************
3
- * @file stm32f4xx_hal_conf_default.h
4
- * @brief HAL default configuration file.
3
+ @file stm32f4xx_hal_conf_default.h
4
+ @brief HAL default configuration file.
5
5
******************************************************************************
6
- * @attention
7
- *
8
- * <h2><center>© Copyright (c) 2017 STMicroelectronics.
9
- * All rights reserved.</center></h2>
10
- *
11
- * This software component is licensed by ST under BSD 3-Clause license,
12
- * the "License"; You may not use this file except in compliance with the
13
- * License. You may obtain a copy of the License at:
14
- * opensource.org/licenses/BSD-3-Clause
15
- *
6
+ @attention
7
+
8
+ <h2><center>© Copyright (c) 2017 STMicroelectronics.
9
+ All rights reserved.</center></h2>
10
+
11
+ This software component is licensed by ST under BSD 3-Clause license,
12
+ the "License"; You may not use this file except in compliance with the
13
+ License. You may obtain a copy of the License at:
14
+ opensource.org/licenses/BSD-3-Clause
15
+
16
16
******************************************************************************
17
- */
17
+ */
18
18
19
19
/* Define to prevent recursive inclusion -------------------------------------*/
20
20
#ifndef __STM32F4xx_HAL_CONF_DEFAULT_H
@@ -29,14 +29,14 @@ extern "C" {
29
29
30
30
/* ########################## Module Selection ############################## */
31
31
/**
32
- * @brief Include the default list of modules to be used in the HAL driver
33
- * and manage module deactivation
34
- */
32
+ @brief Include the default list of modules to be used in the HAL driver
33
+ and manage module deactivation
34
+ */
35
35
#include "stm32yyxx_hal_conf.h"
36
36
#if 0
37
37
/**
38
- * @brief This is the list of modules to be used in the HAL driver
39
- */
38
+ @brief This is the list of modules to be used in the HAL driver
39
+ */
40
40
#define HAL_MODULE_ENABLED
41
41
#define HAL_ADC_MODULE_ENABLED
42
42
#define HAL_CAN_MODULE_ENABLED
@@ -90,10 +90,10 @@ extern "C" {
90
90
91
91
/* ########################## HSE/HSI Values adaptation ##################### */
92
92
/**
93
- * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
94
- * This value is used by the RCC HAL module to compute the system frequency
95
- * (when HSE is used as system clock source, directly or through the PLL).
96
- */
93
+ @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
94
+ This value is used by the RCC HAL module to compute the system frequency
95
+ (when HSE is used as system clock source, directly or through the PLL).
96
+ */
97
97
#if !defined (HSE_VALUE )
98
98
#define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
99
99
#endif /* HSE_VALUE */
@@ -103,25 +103,25 @@ extern "C" {
103
103
#endif /* HSE_STARTUP_TIMEOUT */
104
104
105
105
/**
106
- * @brief Internal High Speed oscillator (HSI) value.
107
- * This value is used by the RCC HAL module to compute the system frequency
108
- * (when HSI is used as system clock source, directly or through the PLL).
109
- */
106
+ @brief Internal High Speed oscillator (HSI) value.
107
+ This value is used by the RCC HAL module to compute the system frequency
108
+ (when HSI is used as system clock source, directly or through the PLL).
109
+ */
110
110
#if !defined (HSI_VALUE )
111
111
#define HSI_VALUE 16000000U /*!< Value of the Internal oscillator in Hz */
112
112
#endif /* HSI_VALUE */
113
113
114
114
/**
115
- * @brief Internal Low Speed oscillator (LSI) value.
116
- */
115
+ @brief Internal Low Speed oscillator (LSI) value.
116
+ */
117
117
#if !defined (LSI_VALUE )
118
118
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz */
119
119
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
120
120
The real value may vary depending on the variations
121
121
in voltage and temperature. */
122
122
/**
123
- * @brief External Low Speed oscillator (LSE) value.
124
- */
123
+ @brief External Low Speed oscillator (LSE) value.
124
+ */
125
125
#if !defined (LSE_VALUE )
126
126
#define LSE_VALUE 32768U /*!< Value of the External Low Speed oscillator in Hz */
127
127
#endif /* LSE_VALUE */
@@ -131,10 +131,10 @@ in voltage and temperature. */
131
131
#endif /* LSE_STARTUP_TIMEOUT */
132
132
133
133
/**
134
- * @brief External clock source for I2S peripheral
135
- * This value is used by the I2S HAL module to compute the I2S clock source
136
- * frequency, this source is inserted directly through I2S_CKIN pad.
137
- */
134
+ @brief External clock source for I2S peripheral
135
+ This value is used by the I2S HAL module to compute the I2S clock source
136
+ frequency, this source is inserted directly through I2S_CKIN pad.
137
+ */
138
138
#if !defined (EXTERNAL_CLOCK_VALUE )
139
139
#define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the External oscillator in Hz*/
140
140
#endif /* EXTERNAL_CLOCK_VALUE */
@@ -144,8 +144,8 @@ in voltage and temperature. */
144
144
145
145
/* ########################### System Configuration ######################### */
146
146
/**
147
- * @brief This is the HAL system configuration section
148
- */
147
+ @brief This is the HAL system configuration section
148
+ */
149
149
#if !defined (VDD_VALUE )
150
150
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
151
151
#endif
@@ -206,9 +206,9 @@ in voltage and temperature. */
206
206
207
207
/* ########################## Assert Selection ############################## */
208
208
/**
209
- * @brief Uncomment the line below to expanse the "assert_param" macro in the
210
- * HAL drivers code
211
- */
209
+ @brief Uncomment the line below to expanse the "assert_param" macro in the
210
+ HAL drivers code
211
+ */
212
212
/* #define USE_FULL_ASSERT 1U */
213
213
214
214
/* ################## Ethernet peripheral configuration ##################### */
@@ -235,8 +235,8 @@ in voltage and temperature. */
235
235
//#define LAN8742A_PHY_ADDRESS 0x00U
236
236
/* Section 2: PHY configuration section */
237
237
#if !defined (LAN8742A_PHY_ADDRESS )
238
- /* LAN8742A PHY Address*/
239
- #define LAN8742A_PHY_ADDRESS 0x00U
238
+ /* LAN8742A PHY Address*/
239
+ #define LAN8742A_PHY_ADDRESS 0x00U
240
240
#endif
241
241
////////////////////////////////
242
242
/* PHY Reset delay these values are based on a 1 ms Systick interrupt*/
@@ -282,17 +282,17 @@ in voltage and temperature. */
282
282
/* ################## SPI peripheral configuration ########################## */
283
283
284
284
/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
285
- * Activated: CRC code is present inside driver
286
- * Deactivated: CRC code cleaned from driver
285
+ Activated: CRC code is present inside driver
286
+ Deactivated: CRC code cleaned from driver
287
287
*/
288
288
#if !defined (USE_SPI_CRC )
289
289
#define USE_SPI_CRC 0U
290
290
#endif
291
291
292
292
/* Includes ------------------------------------------------------------------*/
293
293
/**
294
- * @brief Include module's header file
295
- */
294
+ @brief Include module's header file
295
+ */
296
296
297
297
#ifdef HAL_RCC_MODULE_ENABLED
298
298
#include "stm32f4xx_hal_rcc.h"
@@ -489,13 +489,13 @@ in voltage and temperature. */
489
489
/* Exported macro ------------------------------------------------------------*/
490
490
#ifdef USE_FULL_ASSERT
491
491
/**
492
- * @brief The assert_param macro is used for function's parameters check.
493
- * @param expr If expr is false, it calls assert_failed function
494
- * which reports the name of the source file and the source
495
- * line number of the call that failed.
496
- * If expr is true, it returns no value.
497
- * @retval None
498
- */
492
+ @brief The assert_param macro is used for function's parameters check.
493
+ @param expr If expr is false, it calls assert_failed function
494
+ which reports the name of the source file and the source
495
+ line number of the call that failed.
496
+ If expr is true, it returns no value.
497
+ @retval None
498
+ */
499
499
#define assert_param (expr ) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
500
500
/* Exported functions ------------------------------------------------------- */
501
501
void assert_failed (uint8_t * file , uint32_t line );
0 commit comments