01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>IPC<strong>@CHIP</strong></strong> <strong>Documentation</strong> Index<br />

<strong>@CHIP</strong>-<strong>RTOS</strong> API Error Codes<br />

All error codes here are stated in decimal.<br />

<strong>RTOS</strong> Error Codes - <strong>SC12</strong> <strong>@CHIP</strong>-<strong>RTOS</strong> <strong>V1.10</strong><br />

<strong>RTOS</strong> error codes returned by <strong>RTOS</strong> API calls in the DX-Register<br />

0 call successful<br />

-1 <strong>RTOS</strong> call failed<br />

-2 <strong>RTOS</strong> API function number (AH input) is not supported<br />

<strong>RTOS</strong> specific error codes returned by <strong>RTOS</strong> API calls in the AX register<br />

3 task is still waiting<br />

2 task not waiting; wake is pending<br />

1 no buffer available<br />

0 no error<br />

-1 invalid taskid<br />

-2 If DX=-1, no free message available;<br />

If DX=-2, Bad API function number<br />

-3 no mailbox defined<br />

-4 mailbox full<br />

-5 wakened before timeout<br />

-6 task not waiting (after 2nd wake)<br />

-7 calling task not waiting<br />

-8 invalid message call<br />

-12 resource not owned by you (caller)<br />

-13 no such buffer pool (invalid ID)<br />

-14 not enough memory<br />

-15 memory error<br />

-16 memory error<br />

-17 invalid task priority<br />

-18 no free Task Control Block<br />

-19 no free interval timer<br />

-20 task abort (stop, kill, delete) not allowed<br />

-21 access error<br />

-22 invalid semaphore ID<br />

-23 semaphore already in use<br />

-24 invalid semaphore value<br />

-27 timed out<br />

-28 no message available<br />

Page 245 / 400

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

Saved successfully!

Ooh no, something went wrong!