PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 122
PCD COMMAND LINE COMPILER
Manufacturer Part Number
PCD COMMAND LINE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet
1.PCD_COMMAND_LINE_COMPILER.pdf
(373 pages)
Specifications of PCD COMMAND LINE COMPILER
For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
- Current page: 122 of 373
- Download datasheet (4Mb)
Purpose:
Examples:
Example Files:
Also See:
108
Compilation mode selection-
The #DEVICE directive supports compilation mode selection. The valid keywords are
CCS2, CCS3, CCS4 and ANSI. The default mode is CCS4. For the CCS4 and ANSI
mode, the compiler uses the default fuse settings NOLVP, PUT for chips with these
fuses. The NOWDT fuse is default if no call is made to restart_wdt().
Chip Options -Defines the target processor. Every program must have exactly one
#DEVICE with a chip. When linking multiple compilation units, this directive must
appear exactly the same in each compilation unit.
Compilation mode selection - The compilation mode selection allows existing code
to be compiled without encountering errors created by compiler compliance. As CCS
discovers discrepancies in the way expressions are evaluated according to ANSI,
the change will generally be made only to the ANSI mode and the next major CCS
release.
Chip Options-
#device DSPIC33FJ64GP306
#device PIC24FJ64GA002 ICD=TRUE
#device ADC=10
#device ICD=TRUE ADC=10
Float Options-
#device %f=.
printf("%f",.5); //will print .5, without the directive it will
print 0.5
Compilation mode selection-
#device CCS2
None
None
CCS4
ANSI
CCS2
CCS2 only
CCS3
This is the default compilation mode.
Default data type is SIGNED all other modes default is
UNSIGNED. Compilation is case sensitive, all other modes
are case insensitive.
var16 = NegConst8 is compiled as: var16 = NegConst8 & 0xff
(no sign extension) . The overload keyword is required.
The default #DEVICE ADC is set to the resolution of the part,
all other modes default to 8.
onebit = eightbits is compiled as onebit = (eightbits != 0)
All other modes compile as: onebit = (eightbits & 1)
Related parts for PCD COMMAND LINE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F6722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F8722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)