Energy Micro IEC60355 Library Example Project 1.0 (internal use only!) GCC-Version
Example project demonstrating POST and BIST library functions

system_efm32.h

Go to the documentation of this file.
00001 /***************************************************************************/
00029 #ifndef __SYSTEM_EFM32_H
00030 #define __SYSTEM_EFM32_H
00031 
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035 
00036 #include <stdint.h>
00037 
00038 /*******************************************************************************
00039  **************************   GLOBAL VARIABLES   *******************************
00040  ******************************************************************************/
00041 
00042 extern uint32_t SystemCoreClock;    
00044 /*******************************************************************************
00045  *****************************   PROTOTYPES   **********************************
00046  ******************************************************************************/
00047 
00048 uint32_t SystemCoreClockGet(void);
00049 
00050 /**************************************************************************/
00064 static __INLINE void SystemCoreClockUpdate(void)
00065 {
00066   SystemCoreClockGet();
00067 }
00068 
00069 uint32_t SystemHFClockGet(void);
00070 
00071 uint32_t SystemHFXOClockGet(void);
00072 void SystemHFXOClockSet(uint32_t freq);
00073 
00074 void SystemInit(void);
00075 
00076 uint32_t SystemLFRCOClockGet(void);
00077 
00078 uint32_t SystemLFXOClockGet(void);
00079 void SystemLFXOClockSet(uint32_t freq);
00080 
00081 #ifdef __cplusplus
00082 }
00083 #endif
00084 
00085 #endif /* __SYSTEM_EFM32_H */