sta_cyc

Outline

Start cyclic handler operation.

C format

 ER      sta_cyc ( ID cycid );


Assembly format

 MOV     A, #cycid
 CALL    !!_sta_cyc


Parameter(s)

I/O

Parameter

Description

I

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



Explanation

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

As a result, the target cyclic handler is handled as an activation target of the RI78V4.

Note This service call does not perform queuing of start requests. If the target cyclic handler has been moved to the operational state (STA state), only activation cycle re-set processing is executed.
The relative time interval from the output of this service call until the first activation request is output is always the activation phase (activation cycle cyctim) using the output of this service call as the reference point.


[ Cyclic handler activation image ]



Return value

Macro

Value

Description

E_OK

0

Normal completion.