Interrupts in standard C++

Introduction So you have this new microcontroller you want to use C++ on. How do we know your interrupt code behaves with modern compilers and newer standards? The evolution of compilers means they are getting better at optimizing standard compliant code. The side effect is that non-compliant code just gets more and more likely to be broken as time and compiler versions pass by. Interrupts are a foreign concept to the standard. »

Author image Mikael Rosbacke