This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-RTOS / CCS Easy question...

Is there any one out there who will help me with syntax questions?

eg from SimpleLink Academy v1.03 lab 1 ..

Void urgentWorkTaskFunc(UArg arg0, UArg arg1)

means urgentWorkTaskFunc returns nothing, but requires two inputs arg0, and arg1 but what is the form of these? ie what is meant by UArg?

Yours Simon M.

  • Hi Simon,

    I have not looked at the SimpleLink Academy yet, but I expect the urgentWorkTaskFunc function is the entry point for a Task. There is no return on a Task entry point and the two arg parameters are controlled by the parameters supplied to the create (or construct). Look for one of the following to find where the task is being created

    1. In the .cfg file: look for Task.create.
    2. In a .c file: look for Task_create.
    3. In a .c file: look for Task_construct. A Task_construct is the same as a Task_create, but the task structure is supplied in the call instead of being dynamically allocated within Task_create.

    Todd