cre_cyc
acre_cyc
ER cre_cyc (ID cycid, T_CCYC *pk_ccyc );
ER_ID acre_cyc ( T_CCYC *pk_ccyc );
The cre_cyc creates a cyclic handler with cyclic handler ID indicated by cycid according to the content of pk_ccyc. The acre_cyc creates a cyclic handler according to the content of pk_ccyc, and returns the created cyclic handler ID.
cycatr := ( TA_HLMG | [ TA_STA ] | [ TA_PHS ] )
- TA_STA ( = 0x0002)
When TA_STA is specified, the cyclic handler is in operational state (STA state). When TA_STA is not specified, the cyclic handler is in non-operational state (STP state).
When TA_STA is specified, the cyclic handler is in operational state (STA state). When TA_STA is not specified, the cyclic handler is in non-operational state (STP state).
- TA_PHS ( = 0x0004)
When TA_PHS is specified, the next activation time is determined preserving the activation phase when the cyclic handler is moved to operational state. When TA_PHS is not specified, the cyclic handler is activated cyctim milliseconds after issuing sta_cyc or ista_cyc.
Please refer to "10.6.5 Start cyclic handler operation".
When TA_PHS is specified, the next activation time is determined preserving the activation phase when the cyclic handler is moved to operational state. When TA_PHS is not specified, the cyclic handler is activated cyctim milliseconds after issuing sta_cyc or ista_cyc.
Please refer to "10.6.5 Start cyclic handler operation".
2 ) Extended information (exinf)
The exinf is passed to the cyclic handler as argument. The exinf can be widely used by the user, for example, to set information concerning the cyclic handler.
The exinf is passed to the cyclic handler as argument. The exinf can be widely used by the user, for example, to set information concerning the cyclic handler.
4 ) Activation cycle (cyctim), activation phase (cycphs)
Specify activation cycle (in milli-second) for cyctim.
And specify the time to the first staring from this service call (in milli-second) for cycphs. When both TA_STA and TA_PHS are not specified, the cycphs is ignored.
Specify activation cycle (in milli-second) for cyctim.
And specify the time to the first staring from this service call (in milli-second) for cycphs. When both TA_STA and TA_PHS are not specified, the cycphs is ignored.