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> IDE_INVALID_ID IDIDE_OK#include "CCRTOS.h"OS_TCID sftmr;void TaskN (void *pdata){StatusType sta;.../* Create Software Timer */sftmr = CoCreateTmr(TMR_TYPE_PERIODIC,100,100,SftTmrCallBack);.../* Start Software Timer */sta = CoStartTmr (sftmr);if (sta != E_OK){if (sta == E_INVALID_ID){printf("The timer id passed is invalid, can't start the timer. \n");}}...}6.4.3 CoStopTmr()StatusType CoStopTmr(OS_TCID tmrID); tmrIDID:61