|
Page date Wed Feb 16 16:26:10 2011 . | Improve this page |
OSTaskIdle
Description
Initialize the task object. The function executed by this task is set to the taskMain.
Parameters
:* none
Return value
:* none
Description
Main function task. If this function run, it means that no other task needs the MCU. It will try to put the MCU to sleep. After that (when the MCU is waked up) a yield is made to give the control to other task, if there is another task which in the meantime needs the MCU.
Parameters
:* none
Return value
:* none
Description
Check if the MCU can be put at sleep. If the sleep is allowed put the MCU to sleep.
Parameters
:* none
Return value
:* true if the MCU can be put to sleep, false otherwise