Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 3 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /** |
1 | /** |
2 | ****************************************************************************** |
2 | ****************************************************************************** |
3 | * @file system_stm32f10x.h |
3 | * @file system_stm32f1xx.h |
4 | * @author MCD Application Team |
4 | * @author MCD Application Team |
5 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. |
5 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. |
6 | ****************************************************************************** |
6 | ****************************************************************************** |
7 | * @attention |
7 | * @attention |
8 | * |
8 | * |
9 | * <h2><center>© Copyright (c) 2017 STMicroelectronics. |
9 | * Copyright (c) 2017-2021 STMicroelectronics. |
10 | * All rights reserved.</center></h2> |
10 | * All rights reserved. |
11 | * |
11 | * |
12 | * This software component is licensed by ST under BSD 3-Clause license, |
12 | * This software is licensed under terms that can be found in the LICENSE file |
13 | * the "License"; You may not use this file except in compliance with the |
- | |
14 | * License. You may obtain a copy of the License at: |
13 | * in the root directory of this software component. |
15 | * opensource.org/licenses/BSD-3-Clause |
14 | * If no LICENSE file comes with this software, it is provided AS-IS. |
16 | * |
15 | * |
17 | ****************************************************************************** |
16 | ****************************************************************************** |
18 | */ |
17 | */ |
19 | 18 | ||
20 | /** @addtogroup CMSIS |
19 | /** @addtogroup CMSIS |
21 | * @{ |
20 | * @{ |
22 | */ |
21 | */ |
23 | 22 | ||
24 | /** @addtogroup stm32f10x_system |
23 | /** @addtogroup stm32f10x_system |
25 | * @{ |
24 | * @{ |
26 | */ |
25 | */ |
27 | 26 | ||
28 | /** |
27 | /** |
29 | * @brief Define to prevent recursive inclusion |
28 | * @brief Define to prevent recursive inclusion |
30 | */ |
29 | */ |
31 | #ifndef __SYSTEM_STM32F10X_H |
30 | #ifndef __SYSTEM_STM32F10X_H |
32 | #define __SYSTEM_STM32F10X_H |
31 | #define __SYSTEM_STM32F10X_H |
33 | 32 | ||
34 | #ifdef __cplusplus |
33 | #ifdef __cplusplus |
35 | extern "C" { |
34 | extern "C" { |
36 | #endif |
35 | #endif |
37 | 36 | ||
38 | /** @addtogroup STM32F10x_System_Includes |
37 | /** @addtogroup STM32F10x_System_Includes |
39 | * @{ |
38 | * @{ |
40 | */ |
39 | */ |
41 | 40 | ||
42 | /** |
41 | /** |
43 | * @} |
42 | * @} |
44 | */ |
43 | */ |
45 | 44 | ||
46 | 45 | ||
47 | /** @addtogroup STM32F10x_System_Exported_types |
46 | /** @addtogroup STM32F10x_System_Exported_types |
48 | * @{ |
47 | * @{ |
49 | */ |
48 | */ |
50 | 49 | ||
51 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
50 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
52 | extern const uint8_t AHBPrescTable[16U]; /*!< AHB prescalers table values */ |
51 | extern const uint8_t AHBPrescTable[16U]; /*!< AHB prescalers table values */ |
53 | extern const uint8_t APBPrescTable[8U]; /*!< APB prescalers table values */ |
52 | extern const uint8_t APBPrescTable[8U]; /*!< APB prescalers table values */ |
54 | 53 | ||
55 | /** |
54 | /** |
56 | * @} |
55 | * @} |
57 | */ |
56 | */ |
58 | 57 | ||
59 | /** @addtogroup STM32F10x_System_Exported_Constants |
58 | /** @addtogroup STM32F10x_System_Exported_Constants |
60 | * @{ |
59 | * @{ |
61 | */ |
60 | */ |
62 | 61 | ||
63 | /** |
62 | /** |
64 | * @} |
63 | * @} |
65 | */ |
64 | */ |
66 | 65 | ||
67 | /** @addtogroup STM32F10x_System_Exported_Macros |
66 | /** @addtogroup STM32F10x_System_Exported_Macros |
68 | * @{ |
67 | * @{ |
69 | */ |
68 | */ |
70 | 69 | ||
71 | /** |
70 | /** |
72 | * @} |
71 | * @} |
73 | */ |
72 | */ |
74 | 73 | ||
75 | /** @addtogroup STM32F10x_System_Exported_Functions |
74 | /** @addtogroup STM32F10x_System_Exported_Functions |
76 | * @{ |
75 | * @{ |
77 | */ |
76 | */ |
78 | 77 | ||
79 | extern void SystemInit(void); |
78 | extern void SystemInit(void); |
80 | extern void SystemCoreClockUpdate(void); |
79 | extern void SystemCoreClockUpdate(void); |
81 | /** |
80 | /** |
82 | * @} |
81 | * @} |
83 | */ |
82 | */ |
84 | 83 | ||
85 | #ifdef __cplusplus |
84 | #ifdef __cplusplus |
86 | } |
85 | } |
87 | #endif |
86 | #endif |
88 | 87 | ||
89 | #endif /*__SYSTEM_STM32F10X_H */ |
88 | #endif /*__SYSTEM_STM32F10X_H */ |
90 | 89 | ||
91 | /** |
90 | /** |
92 | * @} |
91 | * @} |
93 | */ |
92 | */ |
94 | 93 | ||
95 | /** |
94 | /** |
96 | * @} |
95 | * @} |
97 | */ |
96 | */ |
98 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
- |