Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>CooCox</strong> <strong>CoOS</strong> #include "CCRTOS.h"void TaskN (void *pdata){OS_TID tid;...tid = CoGetCurTaskID();printf("Current task ID is %d !\n",tid);...}6.2.5 CoSetPriority()StatusType CoSetPriority( task IDID PriorityE_INVALID_IDE_OK);OS_TIDU8IDIDtaskID,priority:::50