Visible to Intel only — GUID: mwh1416946892245
Ixiasoft
Visible to Intel only — GUID: mwh1416946892245
Ixiasoft
8.2.3. Writing an ISR
void (*alt_isr_func) (void* isr_context)
The parameter definition of context is the same as for the alt_ic_isr_register() function.
From the point of view of the HAL exception handling system, the most important function of an ISR is to clear the associated peripheral’s interrupt condition. The procedure for clearing an hardware interrupt condition is specific to the peripheral.
For more information, refer to the relevant chapter in the "Embedded Peripherals IP User Guide".
When the ISR has finished servicing the hardware interrupt, it must return to the HAL interrupt funnel that called it.