序言
Preface
Chapter 1 Introduction to Embedded Systems
1.1 Hardware overview
1.1.1 CPU
1.1.2 Memory
1.1.3 Bus
1.1.4 I/O Ports
1.2 Embedded Software Design and Development
1.2.1 Software Engineering Life Cycle
1.2.2 Standard Peripherals Library (SPL) and Hardware Abstraction Layer (HAL)
1.3 Multi-Tasking Design Methodology
1.3.1 Polling
1.3.2 Interrupts
1.3.3 RTOS
1.4 Practice Lab: Getting Started with "hello world"
1.4.1 Programming "hello world" with Python"
1.4.2 Programming "hello world" with STM32F103
Chapter 2 Embedded C Programming with STM32F103
2.1 Overview
2.2 Reset and Clock Control (RCC)
2.2.1 Reset
2.2.2 Clocks
2.2.3 RCC registers (Partial)
2.2.4 Encapsulated Function
2.3 General-purpose and Alternate-function I/Os (GPIOs and AFIOs)
2.3.1 GPIO Functional Description
2.3.2 Initializing GPIO Directly Using Registers
2.3.3 Using Encapsulated Function
2.3.4 Blink an LED
2.3.5 Lab 1: Reading and Writing GPIO
2.4 PWM
2.4.1 PWM Signal
2.4.2 TIMx Functional Description
2.4.3 Timer Alternate Function Remapping
2.4.4 Configuration
2.4.5 Lab 2-1: Dim an LED Using PWM
2.4.6 Lab 2-2: Capture Rising Edge
2.5 Interrupts and Events
2.5.1 Nested Vectored Interrupt Controller (NVIC)
2.5.2 Lab 3-1: Timer Interrupt
2.5.3 External Interrupt/Event Controller
2.5.4 Lab 3-2: External Interrupt
2.6 Universal Synchronous Asynchronous Receiver Transmitter (USART)
2.6.1 USART Introduction
2.6.2 USART Functional Description
2,6.3 USART Configuration
2.6.4 Lab 4: Asynchronous Serial Communication
2.7 Direct Memory Access Controller
2.7.1 DMA Functional Description
2.7.2 Macro Definition and Encapsulated Function
2.7.3 USART Configuration
2.7.4 Lab 5: Asynchronous Serial Communication with DMA
……
Chapter 3 Embedded C Programming with TMS320F28335
Chapter 4 Fourier Algorithm
Chapter 5 Differential Relay
Chapter 6 Energy Measurement for Smart Metering
Chapter 7 Remote Terminal Unit
Appendix
Reference
展开