-
ref_dtq
iref_dtq
-
Reference data queue state.
ER ref_dtq (ID dtqid, T_RDTQ *pk_rdtq);
ER iref_dtq (ID dtqid, T_RDTQ *pk_rdtq);
|
|
|
|
ID dtqid;
|
ID number of the data queue to be referenced.
|
|
T_RDTQ *pk_rdtq;
|
Pointer to the packet returning the data queue state.
|
[Data queue state packet: T_RDTQ]
typedef struct t_rdtq {
ID stskid; /*Existence of tasks waiting for data transmission*/
ID rtskid; /*Existence of tasks waiting for data reception*/
UINT sdtqcnt; /*Number of data elements in data queue*/
ATR dtqatr; /*Attribute*/
UINT dtqcnt; /*Data count*/
ID memid; /*Reserved for future use*/
} T_RDTQ;
|
These service calls store the detailed information of the data queue (existence of waiting tasks, number of data elements in the data queue, etc.) specified by parameter
dtqid into the area specified by parameter
pk_rdtq.
|
|
|
|
|
|
|
|
- dtqid > Maximum ID number
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified data queue is not registered.
|