Everything

ref_cyc

Outline
Reference cyclic handler state.
C format
 ER      ref_cyc ( ID cycid, T_RCYC *pk_rcyc );

Assembly format
 MOVW    BC, #LOWW(_pk_rcyc)
 MOV     A,  #cycid
 CALL    !!_ref_cyc

Parameter(s)
I/O
Parameter
Description
I
 ID      cycid;
ID number of the cyclic handler to be referenced.
O
 T_RCYC  *pk_rcyc;
Pointer to the packet returning the cyclic handler state.

Explanation
Stores cyclic handler state packet (such as current status) of the cyclic handler specified by parameter cycid in the area specified by parameter pk_rcyc.
Note For details about the cyclic handler state packet, refer to "12.5.8 Cyclic handler state packet".
Return value
Macro
Value
Description
E_OK
0
Normal completion.