Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

IRQ problems: multiple interrupt sources for same interrupt vector

Re: IRQ problems: multiple interrupt sources for same interrupt vector

2005-08-29 by y4krys

Yes, point them to the same ISR.  Since you won't be able to get the 
same priority for both, make sure the ISR is reentrant.

Krys

--- In lpc2000@yahoogroups.com, "test_code" <test_code@y...> wrote:
Show quoted textHide quoted text
> Could anyone help me figure out if it is possible to sign multiple 
> interrupt sources with same interupt vector:
> ie: 
> po.3 and p0.14 for Eint1, so EINT1 will respond for any level changes 
> from both p0.3 and p0.14.

Re: [lpc2000] Re: IRQ problems: multiple interrupt sources for same interrupt vector

2005-08-30 by Richard

Carefully :-) Same as usual. You will have to reenable interrupt. Make sure 
not to use global data etc. Not particularly tricky to make it reentrant. 
The trick is not to die from too many nested interrupts and blow away your 
stack etc.

At 12:39 AM 8/30/2005, you wrote:

>--- In lpc2000@yahoogroups.com, "y4krys" <krys.brukalo@a...> wrote:
> > Yes, point them to the same ISR.  Since you won't be able to get the
> > same priority for both, make sure the ISR is reentrant.
>
>How do you make an ISR reentrant?
>
>/Søren

// richard (This email is for mailing lists. To reach me directly, please 
use richard at imagecraft.com)

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.