A basic C knowledge is a prerequisite for the book while UML notation and terminology is included. General C programming books do not include discussion of the contraints found within embedded system design. The practical examples give the reader an understanding of the use of UML and OO (Object Oriented) designs in a resource-limited environment. Also included are two chapters on state machines. The beauty of this book is that it can help you today. .
*Design Patterns within these pages are immediately applicable to your project
*Addresses embedded system design concerns such as concurrency, communication, and memory usage
*Examples are contain ANSI C for ease of use with C programming code
Embedded Software Methodologist. Triathlete. Systems engineer. Contributor to UML and SysML specifications. Writer. Black Belt. Neuroscientist. Classical guitarist. High school dropout. Bruce Powel Douglass, who has a doctorate in neurocybernetics from the USD Medical School, has over 35 years of experience developing safety-critical real-time applications in a variety of hard real-time environments. He is the author of over 5700 book pages from a number of technical books including Real-Time UML, Real-Time UML Workshop for Embedded Systems, Real-Time Design Patterns, Doing Hard Time, Real-Time Agility, and Design Patterns for Embedded Systems in C. He is the Chief Evangelist at IBM Rational, where he is a thought leader in the systems space and consulting with and mentors IBM customers all over the world. He can be followed on Twitter @BruceDouglass. Papers and presentations are available at his Real-Time UML Yahoo technical group (http://tech.groups.yahoo.com/group/RT-UML) and from his IBM thought leader page (www-01.ibm.com/software/rational/leadership/thought/brucedouglass.html).
A recent survey stated that 52% of embedded projects are late by 4-5 months. This book can help get those projects in on-time with design patterns. The author carefully takes into account the special concerns found in designing and developing embedded applications specifically concurrency, communication, speed, and memory usage. Patterns are given in UML (Unified Modeling Language) with examples including ANSI C for direct and practical application to C code. A basic C knowledge is a prerequisite for the book while UML notation and terminology is included. General C programming books do not include discussion of the contraints found within embedded system design. The practical examples give the reader an understanding of the use of UML and OO (Object Oriented) designs in a resource-limited environment. Also included are two chapters on state machines. The beauty of this book is that it can help you today. . Design Patterns within these pages are immediately applicable to your project Addresses embedded system design concerns such as concurrency, communication, and memory usage Examples contain ANSI C for ease of use with C programming code
Cover 1
Design Patterns for Embedded Systems in C 2
Copyright 5
Contents 8
Preface 16
Acknowledgements 18
About the Author 19
Chapter 1 What Is Embedded Programming? 22
1.1 What’s Special About Embedded Systems? 22
1.2 OO or Structured – It’s Your Choice 30
1.3 What Did We Learn? 54
Chapter 2 Embedded Programming with The HarmonyTM for EmbeddedRealTime Process 56
2.1 Basic Elements of the Harmony Process 57
2.2 The Approach 98
2.3 What’s Coming Up 99
Chapter 3 Design Patterns for Accessing Hardware 100
3.1 Basic Hardware Access Concepts 102
3.2 Hardware Proxy Pattern 106
3.3 Hardware Adapter Pattern 117
3.4 Mediator Pattern 121
3.5 Observer Pattern 132
3.6 Debouncing Pattern 143
3.7 Interrupt Pattern 151
3.8 Polling Pattern 159
3.9 So, What Did We Learn? 168
Chapter 4 Design Patterns for Embedding Concurrency and ResourceManagement 170
4.1 Basic Concurrency Concepts 173
4.2 Cyclic Executive Pattern 185
4.3 Static Priority Pattern 191
4.4 Critical Region Pattern 203
4.5 Guarded Call Pattern 211
4.6 Queuing Pattern 11
4.7 Rendezvous Pattern 245
4.8 Simultaneous Locking Pattern 253
4.9 Ordered Locking 263
4.10 So, What Have We Learned? 276
Chapter 5 Design Patterns for State Machines 278
5.1 Oh Behave 280
5.2 Basic State Machine Concepts 282
5.3 Single Event Receptor Pattern 295
5.4 Multiple Event Receptor Pattern 308
5.5 State Table Pattern 317
5.6 State Pattern 329
5.7 AND-States 348
5.8 Decomposed AND-State Pattern 351
5.9 OK, What Have We Learned? 377
Chapter 6 Safety and Reliability Patterns 378
6.1 A Little Bit About Safety and Reliability 380
6.2 One’s Complement Pattern 383
6.3 CRC Pattern 388
6.4 Smart Data Pattern 401
6.5 Channel Pattern 416
6.6 Protected Single Channel Pattern 423
6.7 Dual Channel Pattern 434
6.8 Summary 443
Appendix A UML Notation 446
1.1 Class Diagram 446
1.2 Sequence Diagram 450
1.3 State Diagram 451
Index 458
Erscheint lt. Verlag | 3.11.2010 |
---|---|
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Technik ► Elektrotechnik / Energietechnik | |
ISBN-10 | 0-08-095971-7 / 0080959717 |
ISBN-13 | 978-0-08-095971-9 / 9780080959719 |
Haben Sie eine Frage zum Produkt? |
Größe: 49,3 MB
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
Größe: 6,3 MB
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich