[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Two interrupts one function?
From: |
Björn Haase |
Subject: |
Re: [avr-gcc-list] Two interrupts one function? |
Date: |
Sun, 14 May 2006 10:22:34 +0200 |
User-agent: |
KMail/1.7.1 |
address@hidden wrote on Sonntag, 14. Mai 2006 18:05 :
> Re: [avr-gcc-list] Two interrupts one function?
you could insert in your irq routine the line
asm (".global __vector_3\n\t .equ __vector_3, __vector_13");
Where __vector_13 is the main name of your irq function and __vector_3 is the
alias that you are newly defining. This way, you will be avoiding the
unnecessary jump.
Bjoern.