summaryrefslogtreecommitdiff
path: root/bsp/synwit/libraries/SWM320_CSL/CMSIS/DeviceSupport/system_SWM320.h
blob: b7c6a015d5a1164fdf6a9b781fcbc2ecac3ef051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef __SYSTEM_SWM320_H__
#define __SYSTEM_SWM320_H__

#ifdef __cplusplus
 extern "C" {
#endif


extern uint32_t SystemCoreClock;        // System Clock Frequency (Core Clock)
extern uint32_t CyclesPerUs;            // Cycles per micro second


extern void SystemInit(void);

extern void SystemCoreClockUpdate (void);



extern void switchCLK_20MHz(void);
extern void switchCLK_40MHz(void);
extern void switchCLK_32KHz(void);
extern void switchCLK_XTAL(void);
extern void switchCLK_PLL(void);

extern void PLLInit(void);


#ifdef __cplusplus
}
#endif

#endif //__SYSTEM_SWM320_H__