stp_cyc

istp_cyc

Outline

Stop cyclic handler operation.

C format

 ER      stp_cyc (ID cycid);
 ER      istp_cyc (ID cycid);
Parameter(s)

I/O

Parameter

Description

I

 ID      cycid;
ID number of the cyclic handler operation to be stopped.



Explanation

This service call moves the cyclic handler specified by parameter cycid from the operational state (STA state) to non-operational state (STP state).

As a result, the target cyclic handler is excluded from activation targets of the RI850V4 until issue of sta_cyc or ista_cyc.

Note This service call does not perform queuing of stop requests. If the target cyclic handler has been moved to the non-operational state (STP state), therefore, no processing is performed but it is not handled as an error.

Return value

Macro

Value

Description

E_OK

0

Normal completion.

E_ID

-18

Invalid ID number.

- cycid < 0x0

- cycid > Maximum ID number

E_CTX

-25

Context error.

- This service call was issued in the CPU locked state.

E_NOEXS

-42

Non-existent object.

- Specified cyclic handler is not registered.