1 /*
2  * Copyright (c) 2009-2020 Arm Limited
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /*
18  * This file is derivative of CMSIS V5.6.0 system_ARMv81MML.h
19  * Git SHA: b5f0603d6a584d1724d952fd8b0737458b90d62b
20  */
21 
22 #ifndef __SYSTEM_CORE_INIT_H__
23 #define __SYSTEM_CORE_INIT_H__
24 
25 #include <stdint.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 extern uint32_t SystemCoreClock;  /*!< System Clock Frequency (Core Clock)  */
32 extern uint32_t PeripheralClock;  /*!< Peripheral Clock Frequency */
33 
34 /**
35  * \brief  Initializes the system
36  */
37 extern void SystemInit(void);
38 
39 /**
40  * \brief  Restores system core clock
41  */
42 extern void SystemCoreClockUpdate(void);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif /* __SYSTEM_CORE_INIT_H__ */
49