-
ref_cyc
iref_cyc
-
Reference cyclic handler state.
ER ref_cyc (ID cycid, T_RCYC *pk_rcyc);
ER iref_cyc (ID cycid, T_RCYC *pk_rcyc);
|
|
|
|
ID cycid;
|
ID number of the cyclic handler to be referenced.
|
|
T_RCYC *pk_rcyc;
|
Pointer to the packet returning the cyclic handler state.
|
[Cyclic handler state packet: T_RCYC]
typedef struct t_rcyc {
STAT cycstat; /*Current state*/
RELTIM lefttim; /*Time left before the next activation*/
ATR cycatr; /*Attribute*/
RELTIM cyctim; /*Activation cycle*/
RELTIM cycphs; /*Activation phase*/
} T_RCYC;
|
Stores cyclic handler state packet (current state, time left before the next activation, etc.) of the cyclic handler specified by parameter
cycid in the area specified by parameter
pk_rcyc.
|
|
|
|
|
|
|
|
- cycid > Maximum ID number
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified cyclic handler is not registered.
|