 | CARM User's Guide Discontinued |  |
|
|
| __task: Task FunctionReal-Time OS Functions may be defined using the __task function attribute:
void funcname (void) __task
Where: | | funcname | is the name of the task function. | | __task | indicates the function is a task function. |
The __task attribute affects the generated code of the function as follows: - The function does not include a prolog or an epilog. Therefore, it is not possible to call the function from other routines. Instead, the Real-Time Operating System must save and restore all CPU register context.
|
|