-
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.
|
|
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*/
} T_RCYC;
|
Stores cyclic handler state packet (current state, time until the next activation, etc.) of the cyclic handler specified by parameter
cycid in the area specified by parameter
pk_rcyc.
-
cycstat
Store the current state.
-
lefttim
Stores the time until the next activation (in millisecond). When the target cyclic handler is in the non-operational state, lefttim is undefined.
|
|
|
|
|
|
|
|
|
|
|
- This service call was issued in the CPU locked state.
- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".
Note When the iref_cyc is issued from task or the ref_cyc is issued from non-task, the context error is not detected and normal operation of the system is not guaranteed.
|