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

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:
Also See:
__ TIME __
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
136
This directive tells the compiler that the following function is an RTOS task.
The rate option is used to specify how often the task should execute. This must be a
multiple of the minor_cycle option if one is specified in the #USE RTOS directive.
The max option is used to specify how much processor time a task will use in one
execution of the task. The time specified in max must be equal to or less than the time
specified in the minor_cycle option of the #USE RTOS directive before the project will
compile successfully. The compiler does not have a way to enforce this limit on
processor time, so a programmer must be careful with how much processor time a task
uses for execution. This option does not need to be specified.
The queue option is used to specify the number of bytes to be reserved for the task to
receive messages from other tasks or functions. The default queue value is 0.
#task(rate=1s, max=20ms, queue=5)
#USE RTOS
__TIME__
None
This pre-processor identifier is replaced at compile time with the time of the compile
in the form: "hh:mm:ss"
printf("Software was compiled on ");
printf(__TIME__);
None
None

Related parts for PCDIDE COMPILER