Why seem interrupt handlers as member functions to be impossible?
Answer Posted / rohit sah
Interrupt handlers as member functions _are_ possible. But they must be static member functions. Static member functions don't make use of the implicit 'this' pointer required by normal member functions. The caller of the interrupt handler doesn't know anything about objects and 'this' pointers, so it can't pass a value of such a pointer.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What should main() return in c and c++?
How should runtime errors be handled in c++?
What is lambda in c++?
What is array give example?
What is else if syntax?
Is dev c++ a good compiler?
What is data binding in c++?
What problems might the following macro bring to the application?
Explain the properties and principles of oop.
What is function overloading c++?
Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened
How are virtual functions implemented in c++?
Show the declaration for a static function pointer.
Explain the virtual inheritance in c++.
What jobs can you get with a c++ certification?