1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /*
3  * Copyright (c) 2020-2021 Rockchip Electronics Co., Ltd.
4  */
5 
6 #ifndef __SYSTEM_RK2108_H_
7 #define __SYSTEM_RK2108_H_
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /**
14   \brief Exception / Interrupt Handler Function Prototype
15 */
16 typedef void(*VECTOR_TABLE_Type)(void);
17 
18 /**
19   \brief System Clock Frequency (Core Clock)
20 */
21 extern uint32_t SystemCoreClock;
22 
23 /**
24   \brief Setup the Cache.
25 
26    Initialize the Cache in the CPU.
27  */
28 extern void CacheInit(void);
29 
30 /**
31   \brief Setup the system.
32 
33    Initialize the System and update the SystemCoreClock variable.
34  */
35 extern void SystemInit(void);
36 
37 /**
38   \brief  Update SystemCoreClock variable.
39 
40    Updates the System Clock Frequency (Core Clock).
41  */
42 extern void SystemCoreClockUpdate(void);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif /*__SYSTEM_RK2108_H */
49