[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] 2 interrupt sharing the same ISR
From: |
Douglas Dotson |
Subject: |
Re: [avr-gcc-list] 2 interrupt sharing the same ISR |
Date: |
Fri, 14 Jan 2005 14:58:46 -0800 (PST) |
--- gouy yann <address@hidden> wrote:
> Hi,
>
> I'd like to know if someone has an easy trick to
> make
> 2 interrupts ( timer overflow and timer output
> compare
> ) jump to the same address (ISR).
>
> duplicating the code or calling the same function
> from
> the ISRs is not that much convincing in term of
> flash
> or stack comsumption.
Not sure where you are coming from on this point.
Calling the same function certainly saves on flash.
The stack used for each invocation would be the same.
If you are allowing nested interrupts then things
can get more complicated, but that is true in any
case.
> I am considering using only the output compare as
> overflow is somehow a particular case of it.
>
> regards.
> Yann
>
>
>
>
>
>
> Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace
> de stockage pour vos mails !
> Créez votre Yahoo! Mail sur
> http://fr.mail.yahoo.com/
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
>