Hello,
I'm using a lpc2378 with the Realview compiler. In my application I want a interrupt to be triggered by software. This interrupt is being handled the same as all other irq's but then with the lowest priority.
Is there some free/ user definable irq vector which can be used? Or should I use SWI vector? (haven't got any experience with that)
any suggestions?
Kind regards, Sander Wiggers
"a interrupt to be triggered by software" is basically a standard function call (except when I miss some other information that you have not provided here).
Sander; I believe that you should answer Reinhard's message at least in your own mind. However, you can create a software interrupt by enabling an unused interrupt such as EXINT. Then you can 'OR' in the flag bit to create the interrupt. You might use this where you want to create an interrupt from both external and software. Bradford
View all questions in Keil forum