[Top][All Lists]

[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)


reply via email to

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