MMC2107 Device Driver Library
Reference Manual
12
Introduction
1.4 Frequently Asked Questions
1.4.1 What is the M•CORE Device Driver Kit?
The M•CORE Device Driver Kit is a software package that accelerates application and higher-level device
driver development. The Kit consists of the Device Driver API Library, the Device Driver API Interface
Files, the Device Driver Example Applications, and the Device Driver Library Reference Manual (this
document).
The M•CORE Device Driver Kit reduces driver development time by providing example application
sources, linker command files, compilation and link utilities, the Device Driver Library itself, and the
documentation to utilize these tools. These components are beneficial to programmers who are new to
M•CORE products and need to get software running quickly.
1.4.2 Why Use the M•CORE Device Driver API Library?
The M•CORE Device Driver API Library provides symbolic, low-level access to all registers, control
fields, and status bits of the device registers. This means that programmers are not required to learn register
addresses, or encode control/status bit positions of the hardware programming model. The Device Driver
API Library has a simpler, more abstract programming model, resulting in a much faster learning cycle.
As shown in the Device Driver API Example Applications, programs using the Device Driver API Library
contain code that is easy to understand and maintain. Cryptic register references and “magic number”
constants are eliminated.
The M•CORE Device Driver API Library is compact and low-level, making it well suited for use in higher
level driver applications. It can be integrated with or without an RTOS, and with or without interrupts
enabled. It contains effective debugging mechanisms such as configurable runtime parameter checking
and coded return values. The Library and the Example Applications are fully tested on M•CORE
development platforms.
1.4.3 Why Use the M•CORE Device Driver API Example Applications?
M•CORE Device Driver API Example Application source code and build files are provided as learning
resources. They can be executed to produce observable peripheral operations on a new development
system. The source files contained in this manual provide quick programming references on how to use
the API. The sources can also serve as background templates for user modification to explore peripheral
operation or to create custom driver applications.
1.4.4 What M•CORE System Peripherals are Supported?
All device drivers for this development system are located after section three of this document. Most
on-chip devices such as SCIs, timers, and interrupt controllers are provided. External devices such as flash
memory drivers or core devices such as caches and MMUs are provided selectively. Off-board devices
such as the DUART and LCD devices on the M•CORE platform board are also provided selectively, but
are provided in a separate library.
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...