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> idIDE_INVALID_IDE_OK#include "CCRTOS.h"OS_FlagID flag;void TaskN (void *pdata){}StatusType result;...result = CoClearFlag (flag);if (result != E_OK){}{else{}if (result == E_INVALID_ID)}...IDIDprintf("Invalid Flag ID !\n");/* process Flag here */1) 6.10.8 CoSetFlag()StatusType CoSetFlag(OS_FlagID id); idID:110