1 /*
2  * Copyright (c) 2009-2022 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 system_ARMCM85.h
19  * Git SHA: 61ad1303bc50450130cfb540caa384875a260b91
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 Exception / Interrupt Handler Function Prototype
36 */
37 typedef void(*VECTOR_TABLE_Type)(void);
38 
39 /**
40  * \brief  Initializes the system
41  */
42 extern void SystemInit(void);
43 
44 /**
45  * \brief  Restores system core clock
46  */
47 extern void SystemCoreClockUpdate(void);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* __SYSTEM_CORE_INIT_H__ */
54