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> void myTaskA(void* pdata){void* pmail;StatusType err;..........mboxID = CoCreateMbox(EVENT_SORT_TYPE_PRIO);pmail = CoPendMail(mboxID,0,&err);..........}void myTaskB(void* pdata){......CoPostMail(mboxID,"hello,world");......}void myISR(void){CoEnterISR();......isr_PostMail(mboxID,"hello,<strong>CooCox</strong>");CoExitISR();}// 5.2.2 ()<strong>CooCox</strong> <strong>CoOS</strong><strong>CooCox</strong> <strong>CoOS</strong>FIFO<strong>CooCox</strong> <strong>CoOS</strong>CoCreateQueue() CoPostQueueMail()isr_PostQueueMaill()CoPendQueueMail()CoAcceptQueueMail():36