EFR32

Data Structures

union tVectorEntry

Functions

void ACMP0_IRQHandler (void)
void ADC0_IRQHandler (void)
Interrupt handler is executed with frequency ~28Hz when panel is not pressed and with frequency ~140Hz when panel is pressed - this will give ~50 readings per second.
void AGC_IRQHandler (void)
void BUFC_IRQHandler (void)
void BusFault_Handler (void)
void CMU_IRQHandler (void)
void CRYOTIMER_IRQHandler (void)
void CRYPTO0_IRQHandler (void)
void CRYPTO1_IRQHandler (void)
void CSEN_IRQHandler (void)
void DebugMon_Handler (void)
void EMU_IRQHandler (void)
EMU Interrupt Handler.
void FPUEH_IRQHandler (void)
void FRC_IRQHandler (void)
void FRC_PRI_IRQHandler (void)
void GPIO_EVEN_IRQHandler (void)
void GPIO_ODD_IRQHandler (void)
void HardFault_Handler (void)
void I2C0_IRQHandler (void)
void I2C1_IRQHandler (void)
void IDAC0_IRQHandler (void)
void LDMA_IRQHandler (void)
void LESENSE_IRQHandler (void)
LESENSE interrupt handler.
void LETIMER0_IRQHandler (void)
void LEUART0_IRQHandler (void)
void MemManage_Handler (void)
void MODEM_IRQHandler (void)
void MSC_IRQHandler (void)
void NMI_Handler (void)
void PCNT0_IRQHandler (void)
void PendSV_Handler (void)
void PRORTC_IRQHandler (void)
void PROTIMER_IRQHandler (void)
void RAC_RSM_IRQHandler (void)
void RAC_SEQ_IRQHandler (void)
void Reset_Handler (void)
void RFSENSE_IRQHandler (void)
void RTCC_IRQHandler (void)
void SMU_IRQHandler (void)
void SVC_Handler (void)
void SYNTH_IRQHandler (void)
void SYSCFG_IRQHandler (void)
uint32_t SystemCoreClockGet (void)
Get the current core clock frequency.
static __INLINE void SystemCoreClockUpdate (void)
Update CMSIS SystemCoreClock variable.
uint32_t SystemHFClockGet (void)
Get the current HFCLK frequency.
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.
void SystemInit (void)
Initialize the system.
uint32_t SystemLFRCOClockGet (void)
Get low frequency RC oscillator clock frequency for target system.
uint32_t SystemLFXOClockGet (void)
Get low frequency crystal oscillator clock frequency for target system.
void SystemLFXOClockSet (uint32_t freq)
Set low frequency crystal oscillator clock frequency for target system.
uint32_t SystemMaxCoreClockGet (void)
Get the maximum core clock frequency.
uint32_t SystemULFRCOClockGet (void)
Get ultra low frequency RC oscillator clock frequency for target system.
void SysTick_Handler (void)
Interrupt Service Routine for system tick counter.
void TIMER0_IRQHandler (void)
TIMER0 interrupt handler.
void TIMER1_IRQHandler (void)
void TRNG0_IRQHandler (void)
void UsageFault_Handler (void)
void USART0_RX_IRQHandler (void)
void USART0_TX_IRQHandler (void)
void USART1_RX_IRQHandler (void)
void USART1_TX_IRQHandler (void)
void USART2_RX_IRQHandler (void)
void USART2_TX_IRQHandler (void)
void VDAC0_IRQHandler (void)
void WDOG0_IRQHandler (void)
void WDOG1_IRQHandler (void)
void WTIMER0_IRQHandler (void)

Variables

uint32_t SystemCoreClock
System System Clock Frequency (Core Clock).
uint32_t SystemHfrcoFreq
System HFRCO frequency.

Function Documentation

void ACMP0_IRQHandler ( void )

ACMP0 IRQ Handler

void AGC_IRQHandler ( void )

AGC IRQ Handler

void BUFC_IRQHandler ( void )

BUFC IRQ Handler

void BusFault_Handler ( void )

Bus Fault Handler

void CMU_IRQHandler ( void )

CMU IRQ Handler

void CRYOTIMER_IRQHandler ( void )

CRYOTIMER IRQ Handler

void CRYPTO0_IRQHandler ( void )

CRYPTO IRQ Handler

void CRYPTO1_IRQHandler ( void )

CRYPTO1 IRQ Handler

void CSEN_IRQHandler ( void )

CSEN IRQ Handler

void DebugMon_Handler ( void )

Debug Monitor Handler

void EMU_IRQHandler ( void )

EMU Interrupt Handler.

EMU IRQ Handler

The EMU_IRQHandler provided by TEMPDRV will call TEMPDRV_IRQ_Handler. Configure EMU_CUSTOM_IRQ_HANDLER = true if the application wants to implement its own EMU_IRQHandler. This is typically needed if one of the non-temperature related EMU interrupt flags are in use.

Definition at line 100 of file tempdrv.c .

References TEMPDRV_IRQHandler() .

void FPUEH_IRQHandler ( void )

FPUEH IRQ Handler

void FRC_IRQHandler ( void )

FRC IRQ Handler

void FRC_PRI_IRQHandler ( void )

FRC_PRI IRQ Handler

void GPIO_EVEN_IRQHandler ( void )

GPIO_EVEN IRQ Handler

Referenced by GPIOINT_CallbackRegister() .

void GPIO_ODD_IRQHandler ( void )

GPIO_ODD IRQ Handler

Referenced by GPIOINT_CallbackRegister() .

void HardFault_Handler ( void )

Hard Fault Handler

void I2C0_IRQHandler ( void )

I2C0 IRQ Handler

void I2C1_IRQHandler ( void )

I2C1 IRQ Handler

void IDAC0_IRQHandler ( void )

IDAC0 IRQ Handler

void LDMA_IRQHandler ( void )

LDMA IRQ Handler

void LESENSE_IRQHandler ( void )

LESENSE interrupt handler.

LESENSE IRQ Handler

Definition at line 354 of file caplesense.c .

References channelMaxValues , channelsInUse , channelValues , currentChannel , LESENSE_IntClear() , LESENSE_IntGetEnabled() , LESENSE_ScanResultDataGet() , lesenseChCb , and lesenseScanCb .

void LETIMER0_IRQHandler ( void )

LETIMER0 IRQ Handler

void LEUART0_IRQHandler ( void )

LEUART0 IRQ Handler

void MemManage_Handler ( void )

MPU Fault Handler

MemManage exception handler.

Definition at line 341 of file sl_mpu.c .

References mpu_fault_handler() .

void MODEM_IRQHandler ( void )

MODEM IRQ Handler

void MSC_IRQHandler ( void )

MSC IRQ Handler

void NMI_Handler ( void )

NMI Handler

void PCNT0_IRQHandler ( void )

PCNT0 IRQ Handler

void PendSV_Handler ( void )

PendSV Handler

void PRORTC_IRQHandler ( void )

PRORTC IRQ Handler

void PROTIMER_IRQHandler ( void )

PROTIMER IRQ Handler

void RAC_RSM_IRQHandler ( void )

RAC_RSM IRQ Handler

void RAC_SEQ_IRQHandler ( void )

RAC_SEQ IRQ Handler

void Reset_Handler ( void )

Reset Handler

void RFSENSE_IRQHandler ( void )

RFSENSE IRQ Handler

void RTCC_IRQHandler ( void )

RTCC IRQ Handler

Definition at line 137 of file sl_sleeptimer_hal_rtcc.c .

References CORE_DECLARE_IRQ_STATE , CORE_ENTER_ATOMIC , CORE_EXIT_ATOMIC , RTCC_IntClear() , and RTCC_IntGet() .

void SMU_IRQHandler ( void )

SMU IRQ Handler

void SVC_Handler ( void )

SVCall Handler

void SYNTH_IRQHandler ( void )

SYNTH IRQ Handler

void SYSCFG_IRQHandler ( void )

SYSCFG IRQ Handler

uint32_t SystemCoreClockGet ( void )

Get the current core clock frequency.

Calculate and get the current core clock frequency based on the current configuration. Assuming that the SystemCoreClock global variable is maintained, the core clock frequency is stored in that variable as well. This function will however calculate the core clock based on actual HW configuration. It will also update the SystemCoreClock global variable.

Note
This is an EFR32 proprietary function, not part of the CMSIS definition.
Returns
The current core clock frequency in Hz.

Definition at line 134 of file system_zgm13.c .

References SystemCoreClock , and SystemHFClockGet() .

Referenced by CMU_ClockDivSet() , CMU_ClockFreqGet() , CMU_ClockPrescSet() , CMU_ClockSelectSet() , CMU_DPLLLock() , CMU_HFRCOBandSet() , SystemCoreClockUpdate() , SystemHFXOClockSet() , SystemLFXOClockSet() , TFT_AddressMappedInit() , and TFT_DirectInit() .

static __INLINE void SystemCoreClockUpdate ( void )
static

Update CMSIS SystemCoreClock variable.

CMSIS defines a global variable SystemCoreClock that shall hold the core frequency in Hz. If the core frequency is dynamically changed, the variable must be kept updated in order to be CMSIS compliant.

Notice that only if changing the core clock frequency through the EFR CMU API, this variable will be kept updated. This function is only provided for CMSIS compliance and if a user modifies the the core clock outside the CMU API.

Definition at line 152 of file system_zgm13.h .

References SystemCoreClockGet() .

Referenced by CAPLESENSE_setupCMU() , EMU_EnterEM2() , and EMU_EnterEM3() .

uint32_t SystemHFClockGet ( void )

Get the current HFCLK frequency.

Note
This is an EFR proprietary function, not part of the CMSIS definition.
Returns
The current HFCLK frequency in Hz.

Definition at line 179 of file system_zgm13.c .

References EFR32_LFRCO_FREQ , and SystemHfrcoFreq .

Referenced by CMU_ClockDivSet() , CMU_ClockFreqGet() , EMU_VScaleEM01() , EMU_VScaleEM01ByClock() , and SystemCoreClockGet() .

uint32_t SystemHFXOClockGet ( void )

Get high frequency crystal oscillator clock frequency for target system.

Note
This is an EFR proprietary function, not part of the CMSIS definition.
Returns
HFXO frequency in Hz.

Definition at line 231 of file system_zgm13.c .

Referenced by CMU_ClockSelectSet() , CMU_HFXOAutostartEnable() , and CMU_HFXOInit() .

void SystemHFXOClockSet ( uint32_t freq )

Set high frequency crystal oscillator clock frequency for target system.

Note
This function is mainly provided for being able to handle target systems with different HF crystal oscillator frequencies run-time. If used, it should probably only be used once during system startup.
This is an EFR proprietary function, not part of the CMSIS definition.
Parameters
[in] freq HFXO frequency in Hz used for target.

Definition at line 256 of file system_zgm13.c .

References SystemCoreClockGet() .

Referenced by BSP_initClocks() .

void SystemInit ( void )

Initialize the system.

Do required generic HW system init.

Note
This function is invoked during system init, before the main() routine and any data has been initialized. For this reason, it cannot do any initialization of variables etc.

Definition at line 285 of file system_zgm13.c .

uint32_t SystemLFRCOClockGet ( void )

Get low frequency RC oscillator clock frequency for target system.

Note
This is an EFR proprietary function, not part of the CMSIS definition.
Returns
LFRCO frequency in Hz.

Definition at line 312 of file system_zgm13.c .

References EFR32_LFRCO_FREQ .

uint32_t SystemLFXOClockGet ( void )

Get low frequency crystal oscillator clock frequency for target system.

Note
This is an EFR proprietary function, not part of the CMSIS definition.
Returns
LFXO frequency in Hz.

Definition at line 346 of file system_zgm13.c .

Referenced by UARTDRV_InitLeuart() .

void SystemLFXOClockSet ( uint32_t freq )

Set low frequency crystal oscillator clock frequency for target system.

Note
This function is mainly provided for being able to handle target systems with different HF crystal oscillator frequencies run-time. If used, it should probably only be used once during system startup.
This is an EFR proprietary function, not part of the CMSIS definition.
Parameters
[in] freq LFXO frequency in Hz used for target.

Definition at line 371 of file system_zgm13.c .

References SystemCoreClockGet() .

Referenced by BSP_initClocks() .

uint32_t SystemMaxCoreClockGet ( void )

Get the maximum core clock frequency.

Note
This is an EFR32 proprietary function, not part of the CMSIS definition.
Returns
The maximum core clock frequency in Hz.

Definition at line 160 of file system_zgm13.c .

References EFR32_HFRCO_MAX_FREQ , and EFR32_HFXO_FREQ .

uint32_t SystemULFRCOClockGet ( void )

Get ultra low frequency RC oscillator clock frequency for target system.

Note
This is an EFR proprietary function, not part of the CMSIS definition.
Returns
ULFRCO frequency in Hz.

Definition at line 330 of file system_zgm13.c .

References EFR32_ULFRCO_FREQ .

void SysTick_Handler ( void )

Interrupt Service Routine for system tick counter.

SysTick Handler

Returns
None

Definition at line 82 of file util.c .

void TIMER0_IRQHandler ( void )

TIMER0 interrupt handler.

TIMER0 IRQ Handler

When TIMER0 expires the number of pulses on TIMER1 is inserted into channelValues. If this values is bigger than what is recorded in channelMaxValues, channelMaxValues is updated. Finally, the next ACMP channel is selected.

Definition at line 119 of file capsense.c .

References channelMaxValues , channelValues , and currentChannel .

void TIMER1_IRQHandler ( void )

TIMER1 IRQ Handler

void TRNG0_IRQHandler ( void )

TRNG0 IRQ Handler

void UsageFault_Handler ( void )

Usage Fault Handler

void USART0_RX_IRQHandler ( void )

USART0_RX IRQ Handler

void USART0_TX_IRQHandler ( void )

USART0_TX IRQ Handler

void USART1_RX_IRQHandler ( void )

USART1_RX IRQ Handler

void USART1_TX_IRQHandler ( void )

USART1_TX IRQ Handler

void USART2_RX_IRQHandler ( void )

USART2_RX IRQ Handler

void USART2_TX_IRQHandler ( void )

USART2_TX IRQ Handler

void VDAC0_IRQHandler ( void )

VDAC0 IRQ Handler

void WDOG0_IRQHandler ( void )

WDOG0 IRQ Handler

void WDOG1_IRQHandler ( void )

WDOG1 IRQ Handler

void WTIMER0_IRQHandler ( void )

WTIMER0 IRQ Handler

Variable Documentation

uint32_t SystemCoreClock

System System Clock Frequency (Core Clock).

System Clock Frequency (Core Clock)

(DO_NOT_INCLUDE_WITH_DOXYGEN)

Required CMSIS global variable that must be kept up-to-date.

Definition at line 99 of file system_zgm13.c .

Referenced by SystemCoreClockGet() .

uint32_t SystemHfrcoFreq

System HFRCO frequency.

System HFRCO frequency

Note
This is an EFR32 proprietary variable, not part of the CMSIS definition.

Frequency of the system HFRCO oscillator

Definition at line 111 of file system_zgm13.c .

Referenced by CMU_DPLLLock() , CMU_HFRCOBandGet() , CMU_HFRCOBandSet() , and SystemHFClockGet() .