|
|
#define | OS_NO_ERR 0 |
| | No error.
|
| |
|
#define | OS_TIMEOUT 10 |
| | Timeout.
|
| |
|
#define | OS_MBOX_FULL 20 |
| | Mailbox full.
|
| |
|
#define | OS_Q_FULL 30 |
| | Queue full.
|
| |
|
#define | OS_Q_EXISTS 31 |
| | Queue already exists.
|
| |
|
#define | OS_PRIO_EXIST 40 |
| | Task priority number already exists.
|
| |
|
#define | OS_PRIO_INVALID 41 |
| | Invalid task priority number.
|
| |
|
#define | OS_SEM_ERR 50 |
| | Semaphore error.
|
| |
|
#define | OS_SEM_OVF 51 |
| | Semaphore count overflow.
|
| |
|
#define | OS_CRIT_ERR 60 |
| | Critical section error.
|
| |
|
#define | OS_NO_MORE_TCB 70 |
| | No Task Control Blocks (TCB) available to create task.
|
| |
#include< nbrtos.h>
Return codes used by NBRTOS functions to indicate success or the reason for failure.