11/**
22 ******************************************************************************
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.
55 ******************************************************************************
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+
1616 ******************************************************************************
17- */
17+ */
1818
1919/* Define to prevent recursive inclusion -------------------------------------*/
2020#ifndef __STM32F4xx_HAL_CONF_DEFAULT_H
@@ -29,14 +29,14 @@ extern "C" {
2929
3030/* ########################## Module Selection ############################## */
3131/**
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+ */
3535#include "stm32yyxx_hal_conf.h"
3636#if 0
3737/**
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+ */
4040#define HAL_MODULE_ENABLED
4141#define HAL_ADC_MODULE_ENABLED
4242#define HAL_CAN_MODULE_ENABLED
@@ -90,10 +90,10 @@ extern "C" {
9090
9191/* ########################## HSE/HSI Values adaptation ##################### */
9292/**
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+ */
9797#if !defined (HSE_VALUE )
9898#define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
9999#endif /* HSE_VALUE */
@@ -103,25 +103,25 @@ extern "C" {
103103#endif /* HSE_STARTUP_TIMEOUT */
104104
105105/**
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+ */
110110#if !defined (HSI_VALUE )
111111#define HSI_VALUE 16000000U /*!< Value of the Internal oscillator in Hz */
112112#endif /* HSI_VALUE */
113113
114114/**
115- * @brief Internal Low Speed oscillator (LSI) value.
116- */
115+ @brief Internal Low Speed oscillator (LSI) value.
116+ */
117117#if !defined (LSI_VALUE )
118118#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz */
119119#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
120120The real value may vary depending on the variations
121121in voltage and temperature. */
122122/**
123- * @brief External Low Speed oscillator (LSE) value.
124- */
123+ @brief External Low Speed oscillator (LSE) value.
124+ */
125125#if !defined (LSE_VALUE )
126126#define LSE_VALUE 32768U /*!< Value of the External Low Speed oscillator in Hz */
127127#endif /* LSE_VALUE */
@@ -131,10 +131,10 @@ in voltage and temperature. */
131131#endif /* LSE_STARTUP_TIMEOUT */
132132
133133/**
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+ */
138138#if !defined (EXTERNAL_CLOCK_VALUE )
139139#define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the External oscillator in Hz*/
140140#endif /* EXTERNAL_CLOCK_VALUE */
@@ -144,8 +144,8 @@ in voltage and temperature. */
144144
145145/* ########################### System Configuration ######################### */
146146/**
147- * @brief This is the HAL system configuration section
148- */
147+ @brief This is the HAL system configuration section
148+ */
149149#if !defined (VDD_VALUE )
150150#define VDD_VALUE 3300U /*!< Value of VDD in mv */
151151#endif
@@ -206,9 +206,9 @@ in voltage and temperature. */
206206
207207/* ########################## Assert Selection ############################## */
208208/**
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+ */
212212/* #define USE_FULL_ASSERT 1U */
213213
214214/* ################## Ethernet peripheral configuration ##################### */
@@ -235,8 +235,8 @@ in voltage and temperature. */
235235//#define LAN8742A_PHY_ADDRESS 0x00U
236236/* Section 2: PHY configuration section */
237237#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
240240#endif
241241////////////////////////////////
242242/* PHY Reset delay these values are based on a 1 ms Systick interrupt*/
@@ -282,17 +282,17 @@ in voltage and temperature. */
282282/* ################## SPI peripheral configuration ########################## */
283283
284284/* 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
287287*/
288288#if !defined (USE_SPI_CRC )
289289#define USE_SPI_CRC 0U
290290#endif
291291
292292/* Includes ------------------------------------------------------------------*/
293293/**
294- * @brief Include module's header file
295- */
294+ @brief Include module's header file
295+ */
296296
297297#ifdef HAL_RCC_MODULE_ENABLED
298298#include "stm32f4xx_hal_rcc.h"
@@ -489,13 +489,13 @@ in voltage and temperature. */
489489/* Exported macro ------------------------------------------------------------*/
490490#ifdef USE_FULL_ASSERT
491491/**
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+ */
499499#define assert_param (expr ) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
500500/* Exported functions ------------------------------------------------------- */
501501void assert_failed (uint8_t * file , uint32_t line );
0 commit comments