[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] Re: C++ Interrupts
From: |
Ron Kreymborg |
Subject: |
RE: [avr-libc-dev] Re: C++ Interrupts |
Date: |
Sun, 20 Jan 2008 22:26:17 +1100 |
> 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)
Ron
Re: [avr-libc-dev] Re: C++ Interrupts, Joerg Wunsch, 2008/01/20
[avr-libc-dev] Re: C++ Interrupts, Ron Kreymborg, 2008/01/21