SW006014 Microchip Technology, SW006014 Datasheet - Page 212

C COMPILER MPLAB FOR PIC24 MCU

SW006014

Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet

Specifications of SW006014

Supported Families
PIC24
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24
Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC24
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
DS51456E-page 208
5.2.2
The archived library files contain all the individual object files for each library function.
When linking an application, the library file must be provided as an input to the linker
(using the
application may be linked into the application.
A typical C application will require three library files:
libpic30-
more on OMF-specific libraries.) These libraries will be included automatically if linking
is performed using the compiler.
5.2.3
Signed fixed point types are defined as follows:
Qn_m
where:
• n is the number of data bits to the left of the radix point
• m is the number of data bits to the right of the radix point
For convenience, short names are also defined:
Functions in the library are prefixed with the type of the return value. For example,
_Q15acos returns a Q15 value equal to the arc cosine of its argument.
Argument types do not always match the return type. Refer to the function prototype
for a specification of its arguments.
In cases where the return value is not a fixed point type, the argument type is appended
to the function name. For example, function _itoaQ15 accepts a type Q15 argument.
In cases where two versions of a function are provided, with the same return type but
different argument types, the argument type is appended to the function name. For
example:
_Q0_15
_Q15_16
_Q1_30
_Q16reciprocalQ15
_Q16reciprocalQ16
Note:
Function Name
Exact Name
Library Files
--library
Function Naming Conventions
A sign bit is implied
omf
.a
. (See Section 1.2 “OMF-Specific Libraries/Start-up Modules” for
or
-l
16
32
32
_Q16
_Q16
linker option) such that the functions used by the
# Bits Required
Return Type
libc-
_Q15
_Q16
_Q30
_Q15
_Q16
© 2008 Microchip Technology Inc.
omf
.a
Argument Type
Short Name
,
libm-
omf
.a
, and

Related parts for SW006014