Chris O'Byrne - YAVRTOS
Function return values
The task was already stopped.
Invalid function for idle task.
The function could not be performed because the task making the request is an idle task.
Invalid task state.
The function could not be performed because the task making the request was not valid (eg a lower-priority task trying to stop a higher-priority task).
Invalid function for an ISR.
The function could not be performed because the task making the request is an ISR.
Mailbox not empty.
Not the mutex owner.
The current task doesn't own the mutex in question.
The function completed successfully.
RTOS not started.
The function timed out on a timeout semaphore.
Function return value.
Return value contains an error code for the function call
YAVRTOS and YAVRTOS documentation Copyright © 2007-2009 Chris O'Byrne. Email - chris <at> obyrne <dot> com