IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


RTX Error Codes


Detailed Description

The following error codes are used in the RTX API.

Defines

#define RTX_ENOERROR   0
 No error.
#define RTX_TASK_NOT_WAITING   2
 Task was not waiting.
#define RTX_EC_NO_SUCH_TASK   (-1)
 No such task, invalid ID.
#define RTX_EC_NO_FREE_MSG_ENVELOPE   (-2)
 No message envelope available.
#define RTX_EC_NO_MAILBOX_DEFINED   (-3)
 Invalid mailbox parameter to RTX_Send_Msg().
#define RTX_EC_MAILBOX_FULL   (-4)
 Selected Message Exchange mailbox is full.
#define RTX_EC_AWAKE_BEFORE_TIMEOUT   (-5)
 Task wakeup before timeout period.
#define RTX_EC_TASK_NOT_WAITING_2ND_WAKE   (-6)
 Task wakeup call has performed no operation.
#define RTX_EC_NO_SUCH_PROCESS   (-8)
 Invalid procNum argument to RTX_Kill_Program().
#define RTX_EC_LOW_MEMORY   (-9)
 Operation failed due to low memory.
#define RTX_EC_NOT_OWNED_BY_CALLER   (-12)
 Resource semaphore is not owned by caller.
#define RTX_EC_NO_FREE_TCB   (-18)
 No space for Task Control Block available.
#define RTX_EC_NO_FREE_TIMER   (-19)
 No interval timer available.
#define RTX_EC_NO_SUCH_SEMAPHORE   (-22)
 Invalid semaphore handle.
#define RTX_EC_INVALID_SEMAPHORE_VALUE   (-24)
 Invalid semaphore initial value.
#define RTX_EC_TIMED_OUT   (-27)
 Block action timed out.
#define RTX_EC_NO_MESSAGE_AVAILABLE   (-28)
 No message available at Message Exchange.
#define RTX_EC_NO_FREE_EVENT_GROUP   (-32)
 No kernel object available for new Event Group.
#define RTX_EC_EVENT_GROUP_IN_USE   (-33)
 Delete operation failed due to that Event Group is in use.
#define RTX_EC_SMOVF   (-35)
 Semaphore count overflow (has reached its limit).
#define RTX_EC_SMUV   (-36)
 Semaphore usage violation.
#define RTX_EC_NO_SUCH_MSG_XCHG   (-41)
 Invalid Message Exchange handle.
#define RTX_EC_NO_FREE_MSG_XCHG   (-42)
 No kernel object available for new Message Exchange.
#define RTX_EC_MSG_XCHG_IN_USE   (-43)
 Delete operation failed due to that Message Exchange is in use.
#define RTX_EC_NO_FREE_SEMAPHORE   (-45)
 No kernel object available for new semaphore.
#define RTX_EC_NO_SUCH_EVENT_GROUP   (-46)
 Invalid Event Group handle.
#define RTX_EC_NO_SUCH_TIMER   (-47)
 Invalid kernel timer handle.
#define RTX_EC_INVALID_TIMER_INTERVAL   (-48)
 Invalid timer interval.
#define RTX_EC_SEMAPHORE_BUSY   (-51)
 Semaphore is in use.
#define RTX_EC_NAME_NOT_FOUND   (-57)
 Specified name not found.
#define RTX_EC_CALL_ILLEGAL   (-58)
 API call illegal.
#define RTX_EC_NAME_IN_USE   (-59)
 Name conflict.
#define RTX_EC_INVALID_PTR   (-60)
 Invalid pointer argument.
#define RTX_EC_INVALID_BUFFER_SIZE   (-61)
 Invalid buffer size.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:37 2017 by Doxygen 1.6.1