This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

interrupts in C++ / cpp ARM / Realview compiler

Hello,

has anybody expierienced with the Realview Compiler (ARM) and C++ interrupt programming?
How can I call an non static method as a interrupt handler? I use ATMEL AT91SAM7 controllers.
It's not easy if one has just started to learn C++ at all ... (the reviews I found haven't helped me much).

Parents
  • Make a static ISR and call the non-static method from within that ISR.
    That's why I don't like C++: a whole new level of abstraction, a whole new lot of unnecessary choices, and plenty of new ways to shoot yourself in the foot. But I guess it has its uses...

Reply
  • Make a static ISR and call the non-static method from within that ISR.
    That's why I don't like C++: a whole new level of abstraction, a whole new lot of unnecessary choices, and plenty of new ways to shoot yourself in the foot. But I guess it has its uses...

Children
No data