We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
I do not see the reason why an exint or other hardware interrupt should be used here. If I want to trigger an interrupt by software, I would always use a software interrupt.
Christian; I agree with you about the SWI but the Op stated that he was aware of the SWI but was uneasy about implementation. So we just gave him an alternate solution. Good or bad, it's up to the Op to decide his implementation. Bradford
I am relieved to hear that there is no technical reason not to use the SWI.