avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Inserting code before context save in an ISR (fornest


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Inserting code before context save in an ISR (fornested interrupts)
Date: Tue, 7 Aug 2007 07:21:25 +0200 (MET DST)

Eric Weddington <address@hidden> wrote:

> And to do this using avr-libc, is to use the INTERRUPT() macro
> (instead of ISR()):

....which has been deprecated, due to its confusing name.

So the "official" solution is:

void YOUR_VECTOR_vect(void) __attribute__((interrupt));
void
YOUR_VECTOR_vect(void)
{
   /* your ISR goes here */
}


-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]