PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 149

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
Purpose:
Examples:
Example Files:
Also See:
#TASK
(The RTOS is only included with the PCW and PCWH packages.)
Each RTOS task is specified as a function that has no parameters and no return. The #TASK
directive is needed just before each RTOS task to enable the compiler to tell which functions are
RTOS tasks. An RTOS task cannot be called directly like a regular function can.
Syntax:
Elements:
#TASK (options)
options are separated by comma and may be:
rate=time
Where time is a number followed by s, ms, us, or ns. This specifies how often the task
will execute.
max=time
Where time is a number followed by s, ms, us, or ns. This specifies the budgeted time
for this task.
queue=bytes
Specifies how many bytes to allocate for this task's incoming messages. The default
value is 0.
Assists in making serial numbers easier to implement when working with CCS ICD
units. Comments are inserted into the hex file that the ICD software interprets.
//Prompt user for serial number to be placed
//at address of serialNumA
//Default serial number = 200int8 const serialNumA=100;
#serialize(id=serialNumA,next="200",prompt="Enter the serial number")
//Adds serial number log in seriallog.txt
#serialize(id=serialNumA,next="200",prompt="Enter the serial number",
log="seriallog.txt")
//Retrieves serial number from serials.txt
#serialize(id=serialNumA,listfile="serials.txt")
//Place serial number at EEPROM address 0, reserving 1 byte
#serialize(dataee=0,binary=1,next="45",prompt="Put in Serial number")
//Place string serial number at EEPROM address 0, reserving 2 bytes
#serialize(dataee=0, string=2,next="AB",prompt="Put in Serial number")
None
None
135

Related parts for PCDIDE COMPILER