Rev 60 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 60 | Rev 61 | ||
|---|---|---|---|
| Line -... | Line 1... | ||
| - | 1 | /* USER CODE BEGIN Header */ |
|
| 1 | /** |
2 | /** |
| 2 | ****************************************************************************** |
3 | ****************************************************************************** |
| 3 | * @file stm32l1xx_hal_conf.h |
4 | * @file stm32l1xx_hal_conf.h |
| 4 | * @brief HAL configuration file. |
5 | * @brief HAL configuration file. |
| 5 | ****************************************************************************** |
6 | ****************************************************************************** |
| 6 | * @attention |
7 | * @attention |
| 7 | * |
8 | * |
| 8 | * <h2><center>© COPYRIGHT(c) 2022 STMicroelectronics</center></h2> |
9 | * Copyright (c) 2017 STMicroelectronics. |
| - | 10 | * All rights reserved. |
|
| 9 | * |
11 | * |
| 10 | * Redistribution and use in source and binary forms, with or without modification, |
- | |
| 11 | * are permitted provided that the following conditions are met: |
12 | * This software is licensed under terms that can be found in the LICENSE file |
| 12 | * 1. Redistributions of source code must retain the above copyright notice, |
- | |
| 13 | * this list of conditions and the following disclaimer. |
13 | * in the root directory of this software component. |
| 14 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
- | |
| 15 | * this list of conditions and the following disclaimer in the documentation |
- | |
| 16 | * and/or other materials provided with the distribution. |
- | |
| 17 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
14 | * If no LICENSE file comes with this software, it is provided AS-IS. |
| 18 | * may be used to endorse or promote products derived from this software |
- | |
| 19 | * without specific prior written permission. |
- | |
| 20 | * |
- | |
| 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
- | |
| 22 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
- | |
| 23 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
- | |
| 24 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
- | |
| 25 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
- | |
| 26 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
- | |
| 27 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
- | |
| 28 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
- | |
| 29 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
- | |
| 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
- | |
| 31 | * |
15 | * |
| 32 | ****************************************************************************** |
16 | ****************************************************************************** |
| 33 | */ |
17 | */ |
| 34 | - | ||
| - | 18 | /* USER CODE END Header */ |
|
| 35 | /* Define to prevent recursive inclusion -------------------------------------*/ |
19 | /* Define to prevent recursive inclusion -------------------------------------*/ |
| 36 | #ifndef __STM32L1xx_HAL_CONF_H |
20 | #ifndef __STM32L1xx_HAL_CONF_H |
| 37 | #define __STM32L1xx_HAL_CONF_H |
21 | #define __STM32L1xx_HAL_CONF_H |
| 38 | 22 | ||
| 39 | #ifdef __cplusplus |
23 | #ifdef __cplusplus |
| Line 97... | Line 81... | ||
| 97 | /** |
81 | /** |
| 98 | * @brief Internal Multiple Speed oscillator (MSI) default value. |
82 | * @brief Internal Multiple Speed oscillator (MSI) default value. |
| 99 | * This value is the default MSI range value after Reset. |
83 | * This value is the default MSI range value after Reset. |
| 100 | */ |
84 | */ |
| 101 | #if !defined (MSI_VALUE) |
85 | #if !defined (MSI_VALUE) |
| 102 | #define MSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/ |
86 | #define MSI_VALUE ((uint32_t)2097000) /*!< Value of the Internal oscillator in Hz*/ |
| 103 | #endif /* MSI_VALUE */ |
87 | #endif /* MSI_VALUE */ |
| 104 | /** |
88 | /** |
| 105 | * @brief Internal High Speed oscillator (HSI) value. |
89 | * @brief Internal High Speed oscillator (HSI) value. |
| 106 | * This value is used by the RCC HAL module to compute the system frequency |
90 | * This value is used by the RCC HAL module to compute the system frequency |
| 107 | * (when HSI is used as system clock source, directly or through the PLL). |
91 | * (when HSI is used as system clock source, directly or through the PLL). |
| Line 330... | Line 314... | ||
| 330 | } |
314 | } |
| 331 | #endif |
315 | #endif |
| 332 | 316 | ||
| 333 | #endif /* __STM32L1xx_HAL_CONF_H */ |
317 | #endif /* __STM32L1xx_HAL_CONF_H */ |
| 334 | 318 | ||
| 335 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
- | |