1 /*!
2  * @file        system_apm32f0xx.h
3  *
4  * @brief      CMSIS Cortex-M0 Device Peripheral Access Layer System Source File
5  *
6  * @details     This file contains the system clock configuration for APM32F0xx devices.
7  *
8  * @version     V1.0.3
9  *
10  * @date        2022-09-20
11  *
12  * @attention
13  *
14  *  Copyright (C) 2020-2022 Geehy Semiconductor
15  *
16  *  You may not use this file except in compliance with the
17  *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
18  *
19  *  The program is only for reference, which is distributed in the hope
20  *  that it will be useful and instructional for customers to develop
21  *  their software. Unless required by applicable law or agreed to in
22  *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
23  *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
24  *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
25  *  and limitations under the License.
26  */
27 
28 /* Define to prevent recursive inclusion */
29 #ifndef __SYSTEM_APM32F0XX_H
30 #define __SYSTEM_APM32F0XX_H
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /** @addtogroup CMSIS
37   @{
38 */
39 
40 /** @addtogroup APM32F0xx_System
41   @{
42 */
43 
44 /** @defgroup System_Macros Macros
45   @{
46   */
47 
48 /**@} end of group System_Macros */
49 
50 /** @defgroup System_Enumerations Enumerations
51   @{
52   */
53 
54 /**@} end of group System_Enumerations */
55 
56 /** @defgroup System_Structures Structures
57   @{
58   */
59 
60 /**@} end of group System_Structures */
61 
62 /** @defgroup System_Variables Variables
63   @{
64   */
65 
66 /* System Clock Frequency (Core Clock) */
67 extern uint32_t SystemCoreClock;
68 
69 /**@} end of group System_Variables */
70 
71 /** @defgroup System_Functions Functions
72   @{
73   */
74 
75 extern void SystemInit(void);
76 extern void SystemCoreClockUpdate(void);
77 
78 #ifdef __cplusplus
79 }
80 #endif
81 
82 #endif /* __SYSTEM_APM32F0XX_H */
83 
84 /**@} end of group System_Functions */
85 /**@} end of group APM32F0xx_System */
86 /**@} end of group CMSIS */
87