Implementation
The Interrupt Service Routine (ISR)
Blinking an LED is implemented inside an ISR triggered by the ERU which generates
interrupt requests according to its configuration.
The method implementing the ISR needs to be assigned a priority and a CPU core
responsible for its execution. This is done with the macro IFX_INTERRUPT(isr,
vectabNum, priority).
When triggered, the ISR blinks the LED by toggling the state of the connected pin
using the function IfxPort_setPinState().
7
2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.