2067 |
kakl |
1 |
/** |
|
|
2 |
****************************************************************************** |
|
|
3 |
* @file system_stm32f10x.h |
|
|
4 |
* @author MCD Application Team |
|
|
5 |
* @version V3.4.0 |
|
|
6 |
* @date 10/15/2010 |
|
|
7 |
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. |
|
|
8 |
****************************************************************************** |
|
|
9 |
* |
|
|
10 |
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS |
|
|
11 |
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE |
|
|
12 |
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY |
|
|
13 |
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING |
|
|
14 |
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE |
|
|
15 |
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. |
|
|
16 |
* |
|
|
17 |
* <h2><center>© COPYRIGHT 2010 STMicroelectronics</center></h2> |
|
|
18 |
****************************************************************************** |
|
|
19 |
*/ |
|
|
20 |
|
|
|
21 |
/** @addtogroup CMSIS |
|
|
22 |
* @{ |
|
|
23 |
*/ |
|
|
24 |
|
|
|
25 |
/** @addtogroup stm32f10x_system |
|
|
26 |
* @{ |
|
|
27 |
*/ |
|
|
28 |
|
|
|
29 |
/** |
|
|
30 |
* @brief Define to prevent recursive inclusion |
|
|
31 |
*/ |
|
|
32 |
#ifndef __SYSTEM_STM32F10X_H |
|
|
33 |
#define __SYSTEM_STM32F10X_H |
|
|
34 |
|
|
|
35 |
#ifdef __cplusplus |
|
|
36 |
extern "C" { |
|
|
37 |
#endif |
|
|
38 |
|
|
|
39 |
/** @addtogroup STM32F10x_System_Includes |
|
|
40 |
* @{ |
|
|
41 |
*/ |
|
|
42 |
|
|
|
43 |
/** |
|
|
44 |
* @} |
|
|
45 |
*/ |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
/** @addtogroup STM32F10x_System_Exported_types |
|
|
49 |
* @{ |
|
|
50 |
*/ |
|
|
51 |
|
|
|
52 |
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
|
|
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 |
*/ |
|
|
97 |
/******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/ |