stp_cyc

Outline

Stop cyclic handler operation.

C format

 ER      stp_cyc ( ID cycid );


Assembly format

 MOV     A, #cycid
 CALL    !!_stp_cyc


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 RI78V4 until issuance of sta_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.