This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

user define interrupt

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

Parents
  • Hello,

    The interrupt that I mentioned is being triggered from within the adc isr which has the highest priority. This software interrupt will have the lowest priority and needs to be handled after all other interrupts. when I simply call the function from the main loop, the timing will be incorrect. so that's why I want to use a interrupt.

    The idea of using an exint could work fine. thanks.

    sander

Reply
  • Hello,

    The interrupt that I mentioned is being triggered from within the adc isr which has the highest priority. This software interrupt will have the lowest priority and needs to be handled after all other interrupts. when I simply call the function from the main loop, the timing will be incorrect. so that's why I want to use a interrupt.

    The idea of using an exint could work fine. thanks.

    sander

Children