[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Inserting code before context save in an ISR(forneste
From: |
Eric Weddington |
Subject: |
RE: [avr-gcc-list] Inserting code before context save in an ISR(fornested interrupts) |
Date: |
Tue, 07 Aug 2007 07:30:58 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Joerg Wunsch
> Sent: Monday, August 06, 2007 11:21 PM
> To: address@hidden
> Subject: Re: [avr-gcc-list] Inserting code before context
> save in an ISR(fornested interrupts)
>
> 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 */
> }
True, good point. Thanks for the correction.
Eric
- [avr-gcc-list] Inserting code before context save in an ISR (for nested interrupts), David Carr, 2007/08/06
- Re: [avr-gcc-list] Inserting code before context save in an ISR (for nested interrupts), Klaus Rudolph, 2007/08/06
- Re: [avr-gcc-list] Inserting code before context save in an ISR (for nested interrupts), Paulo Marques, 2007/08/06
- Re: [avr-gcc-list] Inserting code before context save in an ISR (for nested interrupts), David Brown, 2007/08/06
- RE: [avr-gcc-list] Inserting code before context save in an ISR (fornested interrupts), Eric Weddington, 2007/08/06
- Re: [avr-gcc-list] Inserting code before context save in an ISR (fornested interrupts), Joerg Wunsch, 2007/08/07
- Re: [avr-gcc-list] Inserting code before context save in an ISR (fornested interrupts), David Carr, 2007/08/07
- RE: [avr-gcc-list] Inserting code before context save in an ISR(fornested interrupts),
Eric Weddington <=
- Re: [avr-gcc-list] Inserting code before context save in an ISR (fornested interrupts), Christian Ludlam, 2007/08/13
- RE: [avr-gcc-list] Inserting code before context save in an ISR(fornested interrupts), Eric Weddington, 2007/08/13
- Re: [avr-gcc-list] Inserting code before context save in an ISR (fornested interrupts), Joerg Wunsch, 2007/08/13
- RE: [avr-gcc-list] Inserting code before context save in an ISR(fornested interrupts), Stu Bell, 2007/08/13
- Re: [avr-gcc-list] Inserting code before context save in an ISR(fornested interrupts), Joerg Wunsch, 2007/08/13
- RE: [avr-gcc-list] Inserting code before context save in anISR(fornested interrupts), Eric Weddington, 2007/08/13