For a second microprocessor course for students enrolled in Electrical/Computer Engineering Microcontroller
courses.
Designed for a senior- or graduate-level embedded systems design course, Embedded Systems Design and Applications
with the 68HC12 introduces readers to unique issues associated with designing, testing, integrating, and implementing
microcontroller/microprocessor-based embedded systems.
Table of Contents
(NOTE: Each chapter concludes with Summary, Further Reading, and Chapter Problems.)
1. Introduction to Embedded Systems
1.1 What is an Embedded System?
1.2 Special Challenges with Embedded Systems
1.3 Introduction to the 68HC12 and HCS12 Microcontroller
1.4 HCS12 Microcontroller
2. Microcontroller Programming and Structured Design
2.1 Why Program in a Higher Level Language (HLL)?
2.2 Advantages of Programming in Assembly Language
2.3 Advantages of Programming in HLL
2.4 Optimal Approach: Mixed C and Assembly Language
2.5 Structured Programming and Design
2.6 Laboratory Notebooks
2.7 Unified Modeling Language (UML)
2.8 Application: Retinal Laser Surgery System
3. C Microcontrollers Programming Skills
3.1 Introduction
3.2 Data Types in the C Language
3.3 Operators
3.4 Functions
3.5 Header File
3.6 Compiler Directives
3.7 C Programming Constructs
3.8 Loops
3.9 Decision Processing
3.10 Arrays and Strings
3.11 Pointers
3.12 Structures
3.13 Programming and Debugging Procedures
3.14 Compiler/Assembler Specifics
4. 68HC12/HCS12 System Description and Programming
4.1 The 68HC12 Hardware System
4.2 The HCS12 Hardware System
4.3 Modes of Operation
4.4 Hardware Pin Assignments
4.5 Register Block
4.6 Port System
4.7 The B32 Memory System
4.8 The HCS12 DP256 Memory System
4.9 Exception Processing�Resets and Interrupts
4.10 Reset and Exception Systems Aboard the 68HC12
4.11 68HC12 Interrupt Response
4.12 Writing Interrupt Service Routines in C
4.13 Clock Functions
4.14 The Timing System�The Standard Timer Module (TIM)
4.15 The Real Time Interrupt (RTI)
4.16 The Enhanced Capture Timer: MC68HC12BE32 and HCS12 Variants
4.17 Serial Communications�The Multiple Serial Interface
4.18 The 68HC12 Serial Communications Interface
4.19 SPI-Serial Peripheral Interface
4.20 Analog-to-Digital Conversion Background Theory
4.21 Analog-to-Digital Converter Technologies
4.22 The 68HC12 Analog-to-Digital (ATD) Conversion System
4.23 HCS12 Analog-to-Digital (ATD) Conversion System
4.24 The Pulse Width Modulation (PWM) System
4.25 Power Limiting Features
4.26 Application
5. Basic Input/Output Interfacing Concepts
5.1 68HC12 Voltage and Current Characteristics
5.2 Input Devices�Switches, DIP Switches, and Keypads