How can I use timer interrupts in Simplicity C SDK?
Here we configure the CRYOTIMER to trigger our interrupt service routine (ISR) in every sec. In the ISR we are blinking the LED0 on the WSTK.
Step 1: Configure the timer with the hardware configurator.
Step 2: Enable interrupts in the timer peripheral and in the NVIC
Step 3: Implement the ISR routine. The ISR prototypes can be found in
c:\SiliconLabs\SimplicityStudio\v3\developer\sdks\efm32\v2\Device\SiliconLabs\EFR32BG1P\Include\system_efr32bg1p.h. Not it can be different in your case because it depends on your chip.
Hi great tuto
I think im little bit dumb but i dont find the hardware configurator in Simplicity
Hardware configuration file is in the project’s root directory and has the file extension “.hwconf”. Easiest way to find the file is to use Simplicity Studio’s Simplicity IDE view, browse files with studio project explorer and double clicking the hwconfig-file which opens the hardware configurator tool.