 | C251 User's Guide |  |
|
|
| Real-Time Function TasksThe C251 Compiler supports the RTX251 Full and RTX251 Tiny real-time multitasking operating systems with the _task_ and _priority_ keywords. - The _task_ keyword specifies a function is a real-time task.
- The _priority_ keyword specifies the priority for the task.
For example:
void func (void) _task_ num _priority_ pri
Where | num | is a task ID number from 0-255 for RTX251 Full or 0-15 for RTX251 Tiny. | | pri | is the priority for the task. Refer to the RTX51 Tiny User's Guide for more information. |
Note - Task functions must be declared with a void return type and a void argument list.
|
|