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