You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>CooCox</strong> <strong>CoOS</strong> #include "CCRTOS.h"OS_TID TaskMId;OS_TID TaskNId;void TaskM (void *pdata){...CoTickDelay (30);...}void TaskN (void *pdata){StatusType result;.../* Reset TaskM delay time */result = CoResetTaskDelayTick (TaskMId, 61);if(result!=E_OK){if(result == E_INVALID_ID){printf("Invalid task id !\n");}else if (result == E_NOT_IN_DELAY_LIST){printf("TaskM is not in delay list !\n");}}...}1 tick 06.3.4 CoTimeDelay()StatusType CoTimeDelay(U8 hour,U8 minute,U8 sec,U16 millsec);:57