summaryrefslogtreecommitdiff
path: root/bsp/swm320/libraries/CMSIS/DeviceSupport/system_SWM320.h
blob: 4db7f29433bf25dbe05cdb3a3347d997921865d2 (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
#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__