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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Basic conceptsThe flowchart below illustrates the starting procedure:Reset ofCPULoad SPInit memorymain()InitHardwareC reate taskSemaphoreembOSSchedulerTaskTaskTaskOS_InitKern()DescriptionInitializes all <strong>RTOS</strong> variables which require a non zero initial value for arithmetic types or a non NULL pointer valuefor pointer types.Prototypevoid OS_InitKern (void);Additional InformationOS_InitKern() is always the first function which should be called in main().OS_Start()DescriptionStarts multitasking. The scheduler starts the highest-priority task that has been created in main().Prototypevoid OS_Start (void);PP<strong>RTOS</strong>-221

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

Saved successfully!

Ooh no, something went wrong!