EFR32 Blue Gecko 12 Software Documentation  efr32bg12-doc-5.1.2
system_efr32bg12p.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef SYSTEM_EFR32_H
34 #define SYSTEM_EFR32_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;
47 extern uint32_t SystemHfrcoFreq;
49 /*******************************************************************************
50  ***************************** PROTOTYPES **********************************
51  ******************************************************************************/
52 
53 void Reset_Handler(void);
54 void NMI_Handler(void);
55 void HardFault_Handler(void);
56 void MemManage_Handler(void);
57 void BusFault_Handler(void);
58 void UsageFault_Handler(void);
59 void SVC_Handler(void);
60 void DebugMon_Handler(void);
61 void PendSV_Handler(void);
62 void SysTick_Handler(void);
63 
64 void EMU_IRQHandler(void);
65 void FRC_PRI_IRQHandler(void);
66 void WDOG0_IRQHandler(void);
67 void WDOG1_IRQHandler(void);
68 void FRC_IRQHandler(void);
69 void MODEM_IRQHandler(void);
70 void RAC_SEQ_IRQHandler(void);
71 void RAC_RSM_IRQHandler(void);
72 void BUFC_IRQHandler(void);
73 void LDMA_IRQHandler(void);
74 void GPIO_EVEN_IRQHandler(void);
75 void TIMER0_IRQHandler(void);
76 void USART0_RX_IRQHandler(void);
77 void USART0_TX_IRQHandler(void);
78 void ACMP0_IRQHandler(void);
79 void ADC0_IRQHandler(void);
80 void IDAC0_IRQHandler(void);
81 void I2C0_IRQHandler(void);
82 void GPIO_ODD_IRQHandler(void);
83 void TIMER1_IRQHandler(void);
84 void USART1_RX_IRQHandler(void);
85 void USART1_TX_IRQHandler(void);
86 void LEUART0_IRQHandler(void);
87 void PCNT0_IRQHandler(void);
88 void CMU_IRQHandler(void);
89 void MSC_IRQHandler(void);
90 void CRYPTO0_IRQHandler(void);
91 void LETIMER0_IRQHandler(void);
92 void AGC_IRQHandler(void);
93 void PROTIMER_IRQHandler(void);
94 void RTCC_IRQHandler(void);
95 void SYNTH_IRQHandler(void);
96 void CRYOTIMER_IRQHandler(void);
97 void RFSENSE_IRQHandler(void);
98 void FPUEH_IRQHandler(void);
99 void SMU_IRQHandler(void);
100 void WTIMER0_IRQHandler(void);
101 void WTIMER1_IRQHandler(void);
102 void PCNT1_IRQHandler(void);
103 void PCNT2_IRQHandler(void);
104 void USART2_RX_IRQHandler(void);
105 void USART2_TX_IRQHandler(void);
106 void I2C1_IRQHandler(void);
107 void USART3_RX_IRQHandler(void);
108 void USART3_TX_IRQHandler(void);
109 void VDAC0_IRQHandler(void);
110 void CSEN_IRQHandler(void);
111 void LESENSE_IRQHandler(void);
112 void CRYPTO1_IRQHandler(void);
113 void TRNG0_IRQHandler(void);
114 void SYSCFG_IRQHandler(void);
115 
116 uint32_t SystemCoreClockGet(void);
117 
118 /**************************************************************************/
132 static __INLINE void SystemCoreClockUpdate(void)
133 {
135 }
136 
137 uint32_t SystemMaxCoreClockGet(void);
138 
139 void SystemInit(void);
140 uint32_t SystemHFClockGet(void);
141 
142 uint32_t SystemHFXOClockGet(void);
143 void SystemHFXOClockSet(uint32_t freq);
144 
145 uint32_t SystemLFRCOClockGet(void);
146 uint32_t SystemULFRCOClockGet(void);
147 
148 uint32_t SystemLFXOClockGet(void);
149 void SystemLFXOClockSet(uint32_t freq);
150 
151 #ifdef __cplusplus
152 }
153 #endif
154 #endif /* SYSTEM_EFR32_H */
void EMU_IRQHandler(void)
EMU Interrupt Handler.
Definition: tempdrv.c:91
static __INLINE void SystemCoreClockUpdate(void)
Update CMSIS SystemCoreClock variable.
void SystemLFXOClockSet(uint32_t freq)
Set low frequency crystal oscillator clock frequency for target system.
uint32_t SystemCoreClockGet(void)
Get the current core clock frequency.
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 SystemInit(void)
Initialize the 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 SystemMaxCoreClockGet(void)
Get the maximum core clock frequency.
void TIMER0_IRQHandler(void)
TIMER0 interrupt handler.
Definition: capsense.c:92
uint32_t SystemHFXOClockGet(void)
Get high frequency crystal oscillator clock frequency for target system.
uint32_t SystemLFXOClockGet(void)
Get low frequency crystal oscillator clock frequency for target system.
uint32_t SystemHfrcoFreq
System HFRCO frequency.
void LESENSE_IRQHandler(void)
LESENSE interrupt handler.
Definition: caplesense.c:357
void SystemHFXOClockSet(uint32_t freq)
Set high frequency crystal oscillator clock frequency for target system.
void SysTick_Handler(void)
Interrupt Service Routine for system tick counter.
Definition: util.c:78
uint32_t SystemLFRCOClockGet(void)
Get low frequency RC oscillator clock frequency for target system.
uint32_t SystemHFClockGet(void)
Get the current HFCLK frequency.