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
  • Per,
    A very informative post. I only want to add that some implicit, innocent mistakes can have, as you stated, a large impact on performance/correctness:
    * implicit type conversions can lead to unexpected program behavior. if somebody adds a type conversion/constructor to a class without you knowing about it, it might introduce program stability issues/invalidate correctness.
    * using arrays polymorphically will destroy and program.
    * ...

Reply
  • Per,
    A very informative post. I only want to add that some implicit, innocent mistakes can have, as you stated, a large impact on performance/correctness:
    * implicit type conversions can lead to unexpected program behavior. if somebody adds a type conversion/constructor to a class without you knowing about it, it might introduce program stability issues/invalidate correctness.
    * using arrays polymorphically will destroy and program.
    * ...

Children