release/EM_CMSIS_P1_4.0.0/Device/SiliconLabs/EFM32G/Include/system_efm32g.h

Go to the documentation of this file.
00001 /***************************************************************************/
00033 #ifndef __SILICON_LABS_SYSTEM_EFM32G_H__
00034 #define __SILICON_LABS_SYSTEM_EFM32G_H__
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00040 #include <stdint.h>
00041 
00042 /*******************************************************************************
00043  **************************   GLOBAL VARIABLES   *******************************
00044  ******************************************************************************/
00045 
00046 extern uint32_t SystemCoreClock;    
00048 /*******************************************************************************
00049  *****************************   PROTOTYPES   **********************************
00050  ******************************************************************************/
00051 
00052 /* Interrupt routines - prototypes */
00053 #if defined(_EFM32_GECKO_FAMILY)
00054 void Reset_Handler(void);
00055 void NMI_Handler(void);
00056 void HardFault_Handler(void);
00057 void MemManage_Handler(void);
00058 void BusFault_Handler(void);
00059 void UsageFault_Handler(void);
00060 void SVC_Handler(void);
00061 void DebugMon_Handler(void);
00062 void PendSV_Handler(void);
00063 void SysTick_Handler(void);
00064 void DMA_IRQHandler(void);
00065 void GPIO_EVEN_IRQHandler(void);
00066 void TIMER0_IRQHandler(void);
00067 void USART0_RX_IRQHandler(void);
00068 void USART0_TX_IRQHandler(void);
00069 void ACMP0_IRQHandler(void);
00070 void ADC0_IRQHandler(void);
00071 void DAC0_IRQHandler(void);
00072 void I2C0_IRQHandler(void);
00073 void GPIO_ODD_IRQHandler(void);
00074 void TIMER1_IRQHandler(void);
00075 void TIMER2_IRQHandler(void);
00076 void USART1_RX_IRQHandler(void);
00077 void USART1_TX_IRQHandler(void);
00078 void USART2_RX_IRQHandler(void);
00079 void USART2_TX_IRQHandler(void);
00080 void UART0_RX_IRQHandler(void);
00081 void UART0_TX_IRQHandler(void);
00082 void LEUART0_IRQHandler(void);
00083 void LEUART1_IRQHandler(void);
00084 void LETIMER0_IRQHandler(void);
00085 void PCNT0_IRQHandler(void);
00086 void PCNT1_IRQHandler(void);
00087 void PCNT2_IRQHandler(void);
00088 void RTC_IRQHandler(void);
00089 void CMU_IRQHandler(void);
00090 void VCMP_IRQHandler(void);
00091 void LCD_IRQHandler(void);
00092 void MSC_IRQHandler(void);
00093 void AES_IRQHandler(void);
00094 #endif
00095 
00096 uint32_t SystemCoreClockGet(void);
00097 
00098 /**************************************************************************/
00112 static __INLINE void SystemCoreClockUpdate(void)
00113 {
00114   SystemCoreClockGet();
00115 }
00116 
00117 void SystemInit(void);
00118 uint32_t SystemHFClockGet(void);
00119 uint32_t SystemHFXOClockGet(void);
00120 void SystemHFXOClockSet(uint32_t freq);
00121 uint32_t SystemLFRCOClockGet(void);
00122 uint32_t SystemULFRCOClockGet(void);
00123 uint32_t SystemLFXOClockGet(void);
00124 void SystemLFXOClockSet(uint32_t freq);
00125 
00126 #ifdef __cplusplus
00127 }
00128 #endif
00129 #endif /* __SILICON_LABS_SYSTEM_EFM32G_H__ */