IAR PowerPac RTOS User Guide
IAR PowerPac RTOS User Guide
IAR PowerPac RTOS User Guide
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Task eventsExampleOS_WaitEventTimed(3, 10); /* Wait for event 1 or 2 to be signaled within 10 ms */OS_WaitSingleEventTimed()DescriptionWaits for the specified events for a given time; after an event occurs, only that event is cleared.Prototypechar OS_WaitSingleEventTimed (char EventMask,OS_TIME TimeOut);ParameterDescriptionEventMaskThe events that the task will be waiting for.TimeoutMaximum time in timer ticks until the events have to be signaled. The data type OS_TIMEdefaults to an integer, therefore valid values are1