Название: Making Embedded Systems: Design Patterns for Great Software, 2nd Edition Автор: Elecia White Издательство: O’Reilly Media, Inc. Год: 2024 Страниц: 428 Язык: английский Формат: pdf (true), epub (true) Размер: 18.9 MB
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded programming. You'll learn how to build system architecture for processors, not for operating systems, and you'll discover techniques for dealing with hardware difficulties, changing designs, and manufacturing requirements.
Written by an expert who has created systems ranging from DNA scanners to children's toys, this book is ideal for intermediate and experienced programmers, no matter what platform you use. This expanded second edition includes new chapters on IoT and networked sensors, motors and movement, debugging, data handling strategies, and more.
Embedded software compilers often support only C, or C and C++. In addition, some embedded C++ compilers implement only a subset of the language (multiple inheritance, exceptions, and templates are commonly missing). There is a growing popularity for other languages, but C and C++ remain the most prevalent. Regardless of the language you need to use in your software, you can practice object-oriented design. The design principles of encapsulation, modularity, and data abstraction can be applied to any application in nearly any language. The goal is to make the design robust, maintainable, and flexible. We should use all the help we can get from the object-oriented camp.
Most of the examples in this book are in C or C++. I expect that the language is less important than the concepts, so even if you aren’t familiar with the syntax, look at the code. This book won’t teach you any programming language (except for some assembly language), but good design principles transcend language.
• Optimize your system to reduce cost and increase performance • Develop an architecture that makes your software robust in resource-constrained environments • Explore sensors, displays, motors, and other I/O devices • Reduce RAM and power consumption, code space, and processor cycles • Learn how to interpret schematics, datasheets, and power requirements • Discover how to implement complex mathematics and Machine Learning on small processors • Design effective embedded systems for IoT and networked sensors
Preface 1. Introduction 2. Creating a System Architecture 3. Getting Your Hands on the Hardware 4. Inputs, Outputs, and Timers 5. Interrupts 6. Managing the Flow of Activity 7. Communicating with Peripherals 8. Putting Together a System 9. Getting into Trouble 10. Building Connected Devices 11. Doing More with Less 12. Math 13. Reducing Power Consumption 14. Motors and Movement Index
Скачать Making Embedded Systems: Design Patterns for Great Software, 2nd Edition
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.