CooCox CoOS User's Guide
CooCox CoOS User's Guide
CooCox CoOS User's Guide
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Code5 Wait for multiple flags<br />
void myTaskA(void* pdata)<br />
{<br />
U32 flag;<br />
StatusType err;<br />
..........<br />
flagID1 = CoCreateFlag(0,0); // Reset manually, the original state is not-ready<br />
flagID2 = CoCreateFlag(0,0); // Reset manually, the original state is not-ready<br />
flagID3 = CoCreateFlag(0,0); // Reset manually, the original state is not-ready<br />
flag = (1