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.

CCS: How to enter parameters for a clock Swi



Tool/software: Code Composer Studio

Hello all,

I'm learning TI_RTOS and am setting up a clock Swi.  How do I enter parameters for the function to run when the Swi triggers? I'm using the XGCONF user interface. Is it a structure? 

Where would something like this be documented?

thanks George

 

  • George,

    I'm not exactly sure what you're question is but I'm aware of a limitation in XGCONF that only allows numeric literals to be configured as the "Argument" to a Clock function.

    Symbolic names such as "myArg" get translated into pointers to a string literal "&myArg". Not very useful.

    The Clock function you provide in your C code must have this signature ('myClockFunc" is shown as an example. You can call it anything you want):

     void myClockFunc(Void *arg);

    Alan