|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
Programming Embedded Systems in C and C++
by Michael Barr Publisher: O'Reilly
This book introduces embedded systems to C and C++ programmers. Topics include testing memory devices, writing and erasing Flash memory, verifying nonvolatile memory contents, controlling on-chip peripherals, device driver design and implementation, optimizing embedded code for size and speed, and making the most of C++ without a performance penalty.
1. Introduction
1.1 What Is an Embedded System?
1.2 Variations on the Theme
1.3 C: The Least Common Denominator
1.4 A Few Words About Hardware
2. Your First Embedded Program
2.1 Hello, World!
2.2 Das Blinkenlights
2.3 The Role of the Infinite Loop
3. Compiling, Linking, and Locating
3.1 The Build Process
3.2 Compiling
3.3 Linking
3.4 Locating
3.5 Building das Blinkenlights
4. Downloading and Debugging
4.1 When in ROM ...
4.2 Remote Debuggers
4.3 Emulators
4.4 Simulators and Other Tools
5. Getting to Know the Hardware
5.1 Understand the Big Picture
5.2 Examine the Landscape
5.3 Learn How to Communicate
5.4 Get to Know the Processor
5.5 Study the External Peripherals
5.6 Initialize the Hardware
6. Memory
6.1 Types of Memory
6.2 Memory Testing
6.3 Validating Memory Contents
6.4 Working with Flash Memory
7. Peripherals
7.1 Control and Status Registers
7.2 The Device Driver Philosophy
7.3 A Simple Timer Driver
7.4 Das Blinkenlights, Revisited
8. Operating Systems
8.1 History and Purpose
8.2 A Decent Embedded Operating System
8.3 Real-Time Characteristics
8.4 Selection Process
9. Putting It All Together
9.1 Application Overview
9.2 Flashing the LED
9.3 Printing "Hello, World!"
9.4 Working with Serial Ports
9.5 The Zilog 85230 Serial Controller
10. Optimizing Your Code
10.1 Increasing Code Efficiency
10.2 Decreasing Code Size
10.3 Reducing Memory Usage
10.4 Limiting the Impact of C++ |
|