
20
16-bit Embedded Control Solutions
Popular C Compilers
MPLAB C Compilers
Microchip’s MPLAB C compilers are full-featured, ANSI
compliant high-performance tools tightly integrated
with MPLAB IDE. Source level debugging allows single
stepping through C source code and inspecting variables
and structures at critical points in the code. Integration
with MPLAB IDE means there is a single, consistent
environment to write code and to debug with the free
MPLAB SIM simulator or with MPLAB in-circuit debuggers
and emulators.
Code can be programmed into the target using
the hardware debuggers or with Microchip’s device
programmers. Compiler switches and linker customizations
are done within MPLAB IDE to provide a full graphical
front end to these powerful compilers. Editing errors and
breakpoints instantly switch to the corresponding lines in
source code. Watch windows show data structures with
defined data types, including floating point.
MPLAB C Compiler for PIC24 MCUs and
dsPIC DSCs
The MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs
includes a complete ANSI C standard library, including
string manipulation, dynamic memory allocation, data
conversion, timekeeping and math libraries. The MPLAB
C Compiler has a powerful code optimizer; other 16-bit
MCUs generate as much as 165 percent larger code for
the same application.
World Class Development Tools
Math Libraries
dsPIC DSP Library
The dsPIC DSP Library provides a set of speed optimized
functions for the most common digital signal processing
applications. In total, 49 functions are supported by
the DSP Library. It is part of the 16-bit Language Tools
Libraries. The DSP Library provides significant performance
savings over equivalent functions coded in “C” and allows
developers to dramatically shorten their development time.
The functions are callable from both ‘C’ and Assembly.
Fixed Point Math Library for PIC24 MCUs and
dsPIC DSCs
The I/Q Fixed Point Math Library provides a set of speed
optimized functions for the most common digital signal
processing applications. This library provides significant
performance savings over equivalent functions coded
in C and allows developers to dramatically shorten
their development time. The I/Q math library includes
over 65 general-purpose functions composed of 28
functions supporting Q15 math and thirty seven functions
supporting Q16 math. The IQ math functions are callable
from both ‘C’ and Assembly.
Floating Point Math Library for PIC24 MCUs and
dsPIC DSCs
The IEEE-754 Compliant Floating Point Math Library is the
compiled version of the math library that is distributed with
the highly optimized, ANSI-compliant MPLAB C Compiler. It
contains advanced single and double-precision floating-point
arithmetic and trigonometric functions from the standard
C header file <math.h>. The library delivers small program
code size and data size, reduced cycles and high accuracy.
Download a full-featured, time-restricted
eval version of the MPLAB C Compiler
for PIC24 MCUs or dsPIC DSCs from the
Microchip web site for evaluation.
www.microchip.com/compilers
Library Features
Peripheral Driver Library
This library provides over 300 C utility functions.
Math Libraries: Standard,
Floating-Point & Fixed-Point
■ ANSI C standard functions
■ IEEE-754 compliant fl oating point math
Support for both single and double-precisions
■ I/Q math for fi xed point numbers
Support for both 1.15 and 16.16 formats
DSP Algorithm Library
This extensive DSP building block library is fully optimized in
assembly code for execution speed.
Comentarios a estos manuales