Download RI850V4 V2 Real-Time Operating System User`s Manual: Coding

Transcript
RI850V4 V2
CHAPTER 16 SERVICE CALLS
Return value
Macro
E_OK
Value
0
Description
Normal completion.
Parameter error.
E_PAR
-17
- waiptn = 0x0
- wfmode is invalid.
Invalid ID number.
E_ID
-18
- flgid < 0x0
- flgid > Maximum ID number
Context error.
E_CTX
-25
- This service call was issued in the CPU locked state.
Illegal service call use.
E_ILUSE
-28
- There is already a task waiting for an eventflag with the TA_WSGL attribute.
Non-existent object.
E_NOEXS
-42
- Specified eventflag is not registered.
Polling failure.
E_TMOUT
-50
- The bit pattern of the target eventflag does not satisfy the wait condition.
R20UT2889EJ0101 Rev.1.01
Sep 30, 2015
Page 221 of 366