From Jason Turner
Watch on YouTube

Summary

In this third episode on zero-cost embedded C++, Jason demonstrates how to use modern C++ features to improve interrupt handling on the TI MSP430 microcontroller. He refactors the previous interrupt service routine code to use an array of function pointers populated with non-capturing lambdas, creating a more flexible design for handling different interrupt vectors. This approach showcases how C++14 features can be used efficiently on small embedded devices while maintaining readable, maintainable code.

Resources

Tags