rt-thread-official/bsp/swm320-lq100/Libraries/CMSIS/DeviceSupport/system_SWM320.h

29 lines
602 B
C
Raw Normal View History

2018-12-24 17:17:27 +08:00
#ifndef __SYSTEM_SWM320_H__
#define __SYSTEM_SWM320_H__
#ifdef __cplusplus
2021-09-30 17:55:16 +08:00
extern "C"
{
2018-12-24 17:17:27 +08:00
#endif
2021-09-30 17:55:16 +08:00
extern uint32_t SystemCoreClock; // System Clock Frequency (Core Clock)
extern uint32_t CyclesPerUs; // Cycles per micro second
2018-12-24 17:17:27 +08:00
2021-09-30 17:55:16 +08:00
extern void SystemInit(void);
2018-12-24 17:17:27 +08:00
2021-09-30 17:55:16 +08:00
extern void SystemCoreClockUpdate(void);
2018-12-24 17:17:27 +08:00
2021-09-30 17:55:16 +08:00
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);
2018-12-24 17:17:27 +08:00
2021-09-30 17:55:16 +08:00
extern void PLLInit(void);
2018-12-24 17:17:27 +08:00
#ifdef __cplusplus
}
#endif
#endif //__SYSTEM_SWM320_H__