May 2020
Intermediate to advanced
496 pages
13h 54m
English
There is one common property that all embedded systems share – they don't have an exit point. Because of its nature, embedded code is generally expected to always be available – silently running in the background, taking care of housekeeping tasks, and ready for user input at any time. Unlike desktop environments that are meant to start and stop programs, there isn't anything for a micro-controller to do if it exits the main() function. If this happens, it is likely that the entire device has stopped functioning. For this reason the main() function in an embedded system never returns. Unlike application programs, which are started and stopped by their host OS, most embedded MCU-based applications start at ...