Christopher Kormanyos delivers a convenient guide to programming real-time embedded microcontroller systems in C++ with this book. It is divided into three parts, plus several appendices. The feature provides a foundation for real-time C++ by covering language technologies, including object-oriented methods, template programming, and optimization. Next, Part II presents detailed descriptions of a variety of C++ components that are widely used in microcontroller programming. It details some of C++’s most powerful language elements, such as class types, templates, and the STL, to develop components for microcontroller register access, low-level drivers, custom memory management, embedded containers, multitasking, etc. Finally, part III describes mathematical methods and generic utilities employed to solve recurring problems in real-time C++. The appendices include a brief C++ language tutorial, information on the real-time C++ development environment, and instructions for building GNU GCC cross-compilers and a microcontroller circuit.
For this fourth edition, the most recent specification of C++20 is used throughout the text. Several sections on new C++20 functionality have been added, and various others reworked to reflect changes in the standard. Several new example projects ranging from introductory to advanced levels are included, existing ones are extended, and various reader suggestions have been incorporated. Efficiency is always in focus, and numerous examples are backed up with runtime measurements and size analyses that quantify the actual costs of the code down to the very last byte and microsecond.
The target audience of this book consists mainly of students and professionals interested in real-time C++. Readers should know C or another programming language and get the most out of this book if they have some experience with microcontroller electronics and the daily performance and size issues in programming for embedded systems.
Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming PDF
Author(s): Christopher Kormanyos
Publisher: Springer, Year: 2021