[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] Re: C++ Interrupts
From: |
Weddington, Eric |
Subject: |
RE: [avr-libc-dev] Re: C++ Interrupts |
Date: |
Sun, 20 Jan 2008 12:13:47 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Ron Kreymborg
> Sent: Sunday, January 20, 2008 4:26 AM
> To: 'Dean Camera'; address@hidden
> Subject: RE: [avr-libc-dev] Re: C++ Interrupts
>
> > which was another line of thought for me. My solution:
> >
> > #define CLASS_ISR(vector, ...) { vector(); } ISR(vector,
> __VA_ARGS__)
> >
> > That can be applied to any member function in the C file,
> of any name.
>
> Thanks Dean. This looks like it solves all my problems. In
> fact it can be
> even more concise:
>
> #define CLASS_ISR(vector, ...) {} ISR(vector)
>
If this solution works for you, it would be nice if one of you could
write up something for the avr-libc user manual to let other people know
how to do this.
Thanks,
Eric Weddington
Re: [avr-libc-dev] Re: C++ Interrupts, Joerg Wunsch, 2008/01/20
[avr-libc-dev] Re: C++ Interrupts, Ron Kreymborg, 2008/01/21