1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 #ifndef __SYSTEM_ARMCM_H__
5 #define __SYSTEM_ARMCM_H__
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 #include "stdbool.h"
12 
13 extern uint32_t SystemCoreClock;     /*!< System Clock Frequency (Core Clock)  */
14 
15 void SystemInit (void);
16 
17 // #ifdef UNALIGNED_ACCESS
18 
19 // __STATIC_FORCEINLINE bool get_unaligned_access_status(void) { return true; }
20 
21 // __STATIC_FORCEINLINE bool config_unaligned_access(bool enable) { return true; }
22 
23 // #else
24 
25 bool get_unaligned_access_status(void);
26 
27 bool config_unaligned_access(bool enable);
28 
29 // #endif
30 
31 uint32_t get_cpu_id(void);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif
38 
39