11.07.2015 Views

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

SHOW MORE
SHOW LESS
  • 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.

Additional InformationThis function works the same way as OS_CreateTask(), except that a parameter is passed to the task function.An example of parameter passing to tasks is shown under OS_CREATETASK_EX().OS_Delay()DescriptionSuspends the calling task for a specified period of time.Prototypevoid OS_Delay (int ms);ParameterDescriptionmsTable 8: OS_Delay() parameter listAdditional InformationThe calling task will be put into the TS_DELAY state for the period of time specified. The task will stay in the delayedstate until the specified time has expired. The parameter ms specifies the precise interval during which the task has tobe suspended given in basic time intervals (usually 1/1000 sec). The actual delay (in basic time intervals) will be in thefollowing range: ms - 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!