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_TCID sftmr;void TaskN (void *pdata){StatusType sta;.../* Create Software Timer */sftmr = CoCreateTmr(TMR_TYPE_PERIODIC,100,100,SftTmrCallBack);.../* Delete Software Timer */sta = CoDelTmr (sftmr);if (sta != E_OK){if (sta == E_INVALID_ID){printf("The timer id passed is invalid, filed to delete!\n");}}...}6.4.5 CoGetCurTmrCnt()U32 CoGetCurTmrCnt();tmrIDID PerrE_INVALID_IDE_OKOS_TCIDStatusType*tmrID,perrIDID:63