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_EventID mailbox;void TaskN (void *pdata){StatusType result;void *msg;.../* Create a mailbox */msg = CoAcceptMail (mailbox, &result);if (result != E_OK){if (result == E_INVALID_ID){printf("Invalid event ID !\n");}}else{…/* Process mail here */…}...}1AcceptSem()6.8.4 CoPendMail()void* CoPendMail(OS_EventIDU32StatusType*);id,timeout,perridID:86