EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
system_efm32hg.h
Go to the documentation of this file.
1 /**************************************************************************/
33 #ifndef SYSTEM_EFM32HG_H
34 #define SYSTEM_EFM32HG_H
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 #include <stdint.h>
41 
42 /*******************************************************************************
43  ************************** GLOBAL VARIABLES *******************************
44  ******************************************************************************/
45 
46 extern uint32_t SystemCoreClock;
48 /*******************************************************************************
49  ***************************** PROTOTYPES **********************************
50  ******************************************************************************/
51 
52 /* Interrupt routines - prototypes */
53 void Reset_Handler(void);
54 void NMI_Handler(void);
55 void HardFault_Handler(void);
56 void SVC_Handler(void);
57 void PendSV_Handler(void);
58 void SysTick_Handler(void);
59 
60 void DMA_IRQHandler(void);
61 void GPIO_EVEN_IRQHandler(void);
62 void TIMER0_IRQHandler(void);
63 void ACMP0_IRQHandler(void);
64 void ADC0_IRQHandler(void);
65 void I2C0_IRQHandler(void);
66 void GPIO_ODD_IRQHandler(void);
67 void TIMER1_IRQHandler(void);
68 void USART1_RX_IRQHandler(void);
69 void USART1_TX_IRQHandler(void);
70 void LEUART0_IRQHandler(void);
71 void PCNT0_IRQHandler(void);
72 void RTC_IRQHandler(void);
73 void CMU_IRQHandler(void);
74 void VCMP_IRQHandler(void);
75 void MSC_IRQHandler(void);
76 void AES_IRQHandler(void);
77 void USART0_RX_IRQHandler(void);
78 void USART0_TX_IRQHandler(void);
79 void USB_IRQHandler(void);
80 void TIMER2_IRQHandler(void);
81 
82 uint32_t SystemCoreClockGet(void);
83 uint32_t SystemMaxCoreClockGet(void);
84 
85 /**************************************************************************/
99 static __INLINE void SystemCoreClockUpdate(void)
100 {
102 }
103 
104 void SystemInit(void);
105 uint32_t SystemHFClockGet(void);
106 uint32_t SystemHFXOClockGet(void);
107 void SystemHFXOClockSet(uint32_t freq);
108 uint32_t SystemLFRCOClockGet(void);
109 uint32_t SystemULFRCOClockGet(void);
110 uint32_t SystemLFXOClockGet(void);
111 void SystemLFXOClockSet(uint32_t freq);
112 
113 #ifdef __cplusplus
114 }
115 #endif
116 #endif /* SYSTEM_EFM32HG_H */
void TIMER0_IRQHandler(void)
TIMER0 interrupt handler.
Definition: capsense.c:92
void DMA_IRQHandler(void)
Interrupt handler for DMA cycle completion handling.
Definition: em_dma.c:284
uint32_t SystemCoreClockGet(void)
Get the current core clock frequency.
static __INLINE void SystemCoreClockUpdate(void)
Update CMSIS SystemCoreClock variable.
uint32_t SystemCoreClock
System System Clock Frequency (Core Clock).
uint32_t SystemULFRCOClockGet(void)
Get ultra low frequency RC oscillator clock frequency for target system.
void ADC0_IRQHandler(void)
Interrupt handler is executed with frequency ~28Hz when panel is not pressed and with frequency ~140H...
Definition: touch.c:224
uint32_t SystemLFXOClockGet(void)
Get low frequency crystal oscillator clock frequency for target system.
uint32_t SystemHFClockGet(void)
Get the current HFCLK frequency.
void SystemLFXOClockSet(uint32_t freq)
Set low frequency crystal oscillator clock frequency for target system.
uint32_t SystemHFXOClockGet(void)
Get high frequency crystal oscillator clock frequency for target system.
void SystemHFXOClockSet(uint32_t freq)
Set high frequency crystal oscillator clock frequency for target system.
uint32_t SystemLFRCOClockGet(void)
Get low frequency RC oscillator clock frequency for target system.
void SysTick_Handler(void)
Interrupt Service Routine for system tick counter.
Definition: util.c:78
uint32_t SystemMaxCoreClockGet(void)
Get the maximum core clock frequency.
void SystemInit(void)
Initialize the system.