PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 98
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: 98 of 373
- Download datasheet (4Mb)
rtos_overrun(task)
rtos_stats(task,stat)
Relevant Preprocessor:
#USE RTOS(options)
the timer to use, the minor cycle time and whether or not statistics should be enabled.
#TASK(options)
#TASK
allowed to run, and how large it's queue should be.
Relevant Interrupts:
none
Relevant Include Files:
none all functions are built in
Relevant getenv() Parameters:
none
Example Code:
#USE RTOS(timer=0,minor_cycle=20ms) // RTOS will use timer zero, minor cycle will be 20ms
...
int sem;
...
#TASK(rate=1s,max=20ms,queue=5)
void task_name();
rtos_run();
rtos_terminate();
rtos_enable(task_name);
rtos_disable(task_name);
rtos_msg_send(task_name,5);
rtos_yield();
rtos_sigal(sem);
84
specifies the rate at which the task should be called, the maximum time the task shall be
This directive tells the compiler that the following function is to be an RTOS task.
This directive is used to specify several different RTOS attributes including
Will return true if the given task over ran its alloted time.
Returns the specified statistic about the specified task.
for the task to run and the total time the task has spent
running.
// Task will run at a rate of once per second
// with a maximum running time of 20ms and
// a 5 byte queue
// begins the RTOS
// ends the RTOS
// enables the previously declared task.
// disables the previously declared task
// places the value 5 in task_names queue.
// yields control to the RTOS
// signals that the resource represented by sem is available.
The statistics include the minimum and maximum times
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)