-
ref_flg
iref_flg
-
Reference eventflag state.
ER ref_flg (ID flgid, T_RFLG *pk_rflg);
ER iref_flg (ID flgid, T_RFLG *pk_rflg);
|
|
|
|
ID flgid;
|
ID number of the eventflag to be referenced.
|
|
T_RFLG *pk_rflg;
|
Pointer to the packet returning the eventflag state.
|
[Eventflag state packet: T_RFLG]
typedef struct t_rflg {
ID wtskid; /*Existence of waiting task*/
FLGPTN flgptn; /*Current bit pattern*/
ATR flgatr; /*Attribute*/
} T_RFLG;
|
Stores eventflag state packet (ID number of the task at the head of the wait queue, current bit pattern, etc.) of the eventflag specified by parameter
flgid in the area specified by parameter
pk_rflg.
|
|
|
|
|
|
|
|
- flgid > Maximum ID number
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified eventflag is not registered.
|