Installing the Product
Using This Guide
Embedded Target for Motorola HC12 Demos and Test Models
Related Products
Typographical Conventions
Product Overview
What You Need to Know to Use This Product
Introduction to the Embedded Target for Motorola HC12
Feature Summary
Configuring the Target
Hardware and Software Requirements
Host Platform
Hardware Requirements
Software Requirements
Setting Up Your Installation
Before You Begin
Setup Overview
Verifying Correct Operation
Setting Up Your Target Hardware
Setting Up Metrowerks CodeWarrior for HC12
Installing CodeWarrior for HC12
Installing Special Plug-in Files for CodeWarrior 1.2
Setting Target Preferences
Target Preference Properties
Editing Target Preferences
Configuring the Memory Model via Target Preference Properties
Generating Real-Time HC12 Programs
Introduction
Before You Begin
The Example Model
Tutorial: Creating an Application with the Embedded Target for Motorola HC12
Selecting the Memory Model
Setting the Model Parameters for Code Generation
Building the Application
Downloading and Running the Application
Where to Go Next
Setting HC12 Timing Parameters
Introduction
The hc12_closest_st Function
Computing the Sample Time for Your Model
Sample Time Computation and the Master Block
Code Generation and Code Generation Reports
Build Directories and Files
Code Generation Options
Target-Specific Options
Generating Integer-Only Code
Restrictions on Code Generation Options
Code Generation Reports
Creating Device Drivers
Creating Device Drivers for the Embedded Target for Motorola HC12
Related Documentation
Overview of Device Driver Development Methodology
Hardware Resource Management Overview
Adding Resource Keywords to the hc12regs Package
Implementing Resource Management Compatible Device Drivers
Creating Custom Project Stationery
Creating Custom CodeWarrior Project Stationery
Introduction
Project Stationery Structure Overview
Overview of MathWorks Project Files
Setting Up the Project Stationery Directories
Setting Up the rtwlib Subproject
Creating an Empty MathWorks Project File
Modifying the CodeWarrior Project File (.mcp File)
Using The New Project Stationery
Block Reference
The Embedded Target for Motorola HC12 Block Library
Using Block Reference Pages
Blocks Organized by Category
Alphabetical List of Blocks
Printable Documentation (PDF)