lpcware

Change IRQ Handler during runtime

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by hansLPC on Mon Feb 10 02:56:20 MST 2014
Hi,

I have a highly optimized IRQ handler for my PWM Interrupts (PWM1_IRQHandler).

For different application modes I want to use another IRQ handler because a switch or ifelse statement is wasting too much time. So now my question: is it possible to overwrite the IRQ functionPtr or whatever to call different IRQ routines? Are they determined by compile-time? Is this memory region accessible during runtime?

Regards,
Hans

Outcomes