The C++ language has strong object-oriented and template gains that could increase software program layout and portability whereas at the same time lowering code complexity and the danger of errors. in addition, C++ compiles hugely effective local code. This special and powerful mix makes C++ well-suited for programming microcontroller structures that require compact measurement, excessive functionality and safety-critical reliability.
With this e-book, Chris Kormanyos offers a hugely functional advisor to programming real-time embedded microcontroller structures in C++. it truly is divided into 3 elements plus a number of appendices. half I offers a origin for real-time C++ via overlaying language applied sciences, together with object-oriented tools, template programming and optimization. subsequent, half II provides distinct descriptions of quite a few C++ elements which are frequent in microcontroller programming. It info a few of C++’s strongest language parts, reminiscent of category kinds, templates and the STL, to enhance parts for microcontroller check in entry, low-level drivers, customized reminiscence administration, embedded bins, multitasking, etc. eventually, half III describes mathematical equipment and favourite utilities that may be hired to resolve habitual difficulties in real-time C++. The appendices comprise a short C++ language instructional, info at the real-time C++ improvement surroundings and directions for development GNU GCC cross-compilers and a microcontroller circuit.
The latest specification of C++11 in ISO/IEC 14882:2011 is used through the textual content. To facilitate portability, no libraries except these laid out in the language normal itself are used. potency is usually in concentration and diverse examples are sponsored up with real-time functionality measurements and measurement analyses that quantify the genuine expenses of the code right down to the final byte and microsecond.
The target market of this ebook commonly includes scholars and execs drawn to real-time C++. Readers could be acquainted with C or one other programming language and should profit such a lot in the event that they have had a few earlier adventure with microcontroller electronics and the functionality and measurement matters primary in embedded platforms programming.