Graphical Configuration Tool
•
General Purpose Input/Output (GPIO)
•
Analog-to-Digital Converter (ADC)
•
Quadrature Decoder (DEC)
•
Serial Communication Interface (SCI)
•
Serial Peripheral Interface (SPI)
•
Inter-integrated Circuit Interface (IIC)
•
Quad Timer Module
•
FlexCAN Module
•
Temperature Sensor
7.1.2
How does it work?
The Graphical Configuration Tool (GCT) is a standard Microsoft Windows-based application
used to graphically edit (read and write) project's appconfig.h file. The register initialization
values edited by graphical controls can be immediately displayed and/or written back to the
appconfig.h file.
The appconfig.h file is included by the application source code, and the register initialization
values are used in the "init" functions to physically configure the peripheral module. An
initialization function exists for each module and it is typically invoked using the "ioctl" INIT call
(e.g. use the SCI1_INIT ioctl command to initialize the SCI module 1).
Graphical
Configuration
Tool
The GCT is able to work as a stand-alone tool, however the integration with the CodeWarrior IDE
markedly increases the tool efficiency. The integration steps, as well as the installation, are
described in detail in Section 1.2.2.2.
7-2
appconfig.h
Figure 7-1. GCT Usage
Targeting 56F8xxx Platform
Application
FREESCALE SEMICONDUCTOR