Start a conversation

How can I pass parameters (such as void *, Char *, etc.) to task functions?

OS Abstractor task accepts a parameter type UNSIGNED. If you need to pass any pointer, you can assign the pointer value to a variable of type UNSIGNED and pass that to the task routine. You will then retrieve the value within the task function and initialize the value to a local pointer of the appropriate type and then can use the pointer.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. MapuSoft

  2. Posted

Comments