34 lines
690 B
C
34 lines
690 B
C
|
#ifndef __SYSTEM_SWM341_H__
|
||
|
#define __SYSTEM_SWM341_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 PLLInit(void);
|
||
|
|
||
|
extern void switchTo20MHz(void);
|
||
|
extern void switchTo2M5Hz(void);
|
||
|
extern void switchTo40MHz(void);
|
||
|
extern void switchTo5MHz(void);
|
||
|
extern void switchToXTAL(uint32_t div8);
|
||
|
extern void switchToPLL(uint32_t div8);
|
||
|
extern void switchTo32KHz(void);
|
||
|
extern void switchToXTAL_32K(void);
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif //__SYSTEM_SWM341_H__
|