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.
Description:<br />
Wait for multiple flags.<br />
Parameters:<br />
[in] flags<br />
The flags which need to wait for<br />
[in] waitType<br />
The type of waiting:<br />
OPT_WAIT_ALL,<br />
OPT_WAIT_ANY,<br />
Wait for all the flags<br />
Wait for a single flag<br />
[in] timeout<br />
Time-out time. 0 means waiting indefinitely.<br />
[out] perr<br />
The type of the errors returned:<br />
Returns:<br />
E_CALL,<br />
E_INVALID_PARAMETER,<br />
E_TIMEOUT,<br />
E_FLAG_NOT_READY,<br />
E_OK,<br />
Called in the ISR.<br />
The parameter is invalid.<br />
Wait overtime.<br />
The flag isn’t in the ready state.<br />
Obtain successfully.<br />
The flag which trigger the function to return successfully<br />
114