Writing ISRs in C++
All things being equal, it is generally better to write in Standard C++ than in some platform-specific C++ dialect. However, servicing hardware interrupts is a very platform-specific activity, so much so that it is essentially impossible in Standard C++. You cannot do the entire job without relying on some platform-specific language extensions or small doses of assembly language. This paper explains how to service hardware interrupts in C++, providing an example featuring the ARM Evaluator-7T single board computer — built around the Samsung KS32C50100 processor — as a hardware platform.
Please disable any pop-up blockers for proper viewing of this Whitepaper.