作者介紹
(美)愛利西亞·懷特|責編:張燁
愛利西亞·懷特(Miro Samek),嵌入式系統專家、作家、教師Elecia White是Logical Elegance, Inc.的創始人兼首席嵌入式系統工程師。她曾開發過ICU監護儀、用於飛機和賽車的慣性測量單元、教育玩具以及各種醫療、科學、消費設備。Elecia畢業於美國加州克萊蒙特的哈維馬德學院(Harvey Mudd College),也是以嵌入式系統、工程職業、創新技術為主題的播客Embedded.FM的聯合主持人。
目錄
Preface
1. Introduction
Embedded Systems Development
Compilers and Languages
Debugging
Resource Constraints
Principles to Confront Those Challenges
Prototypes and Maker Boards
Further Reading
2. Creating a System Architecture
Getting Started
Creating System Diagrams
The Context Diagram
The Block Diagram
Organigram
Layering Diagram
Designing for Change
Encapsulate Modules
Delegation of Tasks
Driver Interface: Open, Close, Read, Write, IOCTL
Adapter Pattern
Creating Interfaces
Example: A Logging Interface
A Sandbox to Play In
Back to the Drawing Board
Further Reading
3. Getting Your Hands on the Hardware
Hardware/Software Integration
Ideal Project Flow
Hardware Design
Board Bring-Up
Reading a Datasheet
Datasheet Sections You Need When Things Go Wrong
Datasheet Sections for Software Developers
Evaluating Components Using the Datasheet
Your Processor Is a Language
Reading a Schematic
Practice Reading a Schematic: Arduino!
Keep Your Board Safe
Creating Your Own Debugging Toolbox
Digital Multimeter
Oscilloscopes and Logic Analyzers
Setting Up a Scope
Testing the Hardware (and Software)
Building Tests
Flash Test Example
Command and Response
Command Pattern
Dealing with Errors
Consistent Methodology
Error Checking Flow
Error-Handling Library
Debugging Timing Errors
Further Reading
4. Inputs, Outputs, and Timers
Handling Registers
Binary and Hexadecimal Math
Bitwise Operations
Test, Set, Clear, and Toggle
Toggling an Output
Setting the Pin to Be an Output
Turning On the LED
Blinking the LED
Troubleshooting
Separating the Hardware from the Action
Board-Specific Header File
……
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. Redudng Power Consumption
14. Motors and Movement.
Index