SW500008 Microchip Technology, SW500008 Datasheet - Page 50

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
Files
3.3.4.2 Printf Libraries
The standard libraries contain a compact, low-featured implementation of printf (and related func-
tions). The standard printf supports processing of the simplest format types. If an application re-
quires to process more complexed format types, enhanced routines can be linked from specific printf
libraries. Note that increasing the functionality of printf will also increase the amount of program
space consumed by these library routines. The capabilities of each printf library is explained in Table
3.2. The printf libraries are simply a suppliment to the standard libraries so the naming convention
is the same.
section 2.4.7. It is not neccessary to nominate selection of the c (standard) library as this file will
automatically included by PICC18, unless explicitly excluded by the --RUNTIME option, as described
in section 2.4.47. For more details on the printf functions, see the library function documentation in
Appendix A.
3.3.4.3 Peripheral Libraries
To accompany the standard libraries, PICC-18 automatically includes an additional set of peripheral
dependant libraries. The functions contained in these libraries are those which have particular a
reliance on hardware or a device’s special function registers, for example accesses to EEPROM
memory. Figure
that representing the combinations of peripheral characteristics and errata workarounds applicable
to this library. An explanation of the bits within the bitmask is available in Table 3.3.
36
To nominate selection of a particular printf library, use the PICC18 option, -Lx as descriped in
PICC-18 peripheral libraries are denoted by the name pic8x--p.lib, where x is a 3-bit bitmask
Memory Model is either l for large or s for small model.
Double Type is - for 24-bit doubles, and d for 32-bit doubles.
Library Type is c for standard library. Types l, f and w denote enhanced printf libraries which
are explained in section 3.3.4.2.
3.2
illustrates the naming convention used for the peripheral libraries.
c (standard)
l (+long)
f (+float)
w (full featured)
Library type
Table 3.2: Printf functionality
%d, %u, %o, %x, %X, %s, %c
c library plus %ld, %lx, %lX, %lo
l library plus %f, %e
f library plus %E, %g, %G, %i, %p
Supported formats
C Language Features

Related parts for SW500008