Tech Papers

Writing ISRs in C

Embedded Systems Conference (ESC)
Dan Saks

Conference Paper

May 2007

External URL

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 sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Jobs sponsored by

Feedback Form