11.07.2015 Views

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Task routinesReturn valueOS_TASKID: A pointer to the task control block. A value of 0 (NULL) indicates that no task is executing.Additional InformationThis function may be used for determining which task is executing. This may be helpful if the reaction of any functiondepends on the currently running task.OS_GetpCurrentTask()DescriptionReturns a pointer to the task control block structure of the currently running task.PrototypeOS_TASK* OS_GetpCurrentTask (void);Return valueOS_TASK*: A pointer to the task control block structure.Additional InformationThis function may be used for determining which task is executing. This may be helpful if the reaction of any functiondepends on the currently running task.PP<strong>RTOS</strong>-235

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!