- 118 -
5.5 Synchronization & Communication Function (Data Queue)
Specifications of the data queue function of MR100 are listed in Table 5.9.
Table 5.9 Specifications of the Data Queue Function
No. Item
Content
1 Data
queue
ID
1-255
2
Capacity (data bytes) in data queue area
0-8191
3
Data size
32 bits
TA_TFIFO: Waiting
tasks
enqueued in order of FIFO
4
Data queue attribute
TA_TPRI:
Waiting tasks enqueued in order of priority
Table 5.10 List of Dataqueue Function Service Call
System State
No. Service
Call
Function
T N E D
U
L
1 snd_dtq
[S]
Sends to data queue
O
O
O
2 psnd_dtq
[S]
O O O
O
3 ipsnd_dtq
[S]
Sends to data queue (polling)
O O O
O
4 tsnd_dtq
[S]
Sends to data queue (with timeout)
O
O
O
5 fsnd_dtq
[S]
O O O
O
6 ifsnd_dtq
[S]
Forced sends to data queue
O O O
O
7 rcv_dtq
[S]
Receives from data queue
O
O
O
8 prcv_dtq
[S]
O O O
O
9 iprcv_dtq
Receives from data queue (polling)
O O O
O
10 trcv_dtq
[S]
Receives from data queue (with timeout)
O
O
O
11 ref_dtq
O
O
O
O
12 iref_dtq
References data queue status
O O O
O
Notes:
•
[S]: Standard profile service calls
[B]: Basic profile service calls
•
Each sign within " System State " is a following meaning.
♦
T: Can be called from task context
♦
N: Can be called from non-task context
♦
E: Can be called from dispatch-enabled state
♦
D: Can be called from dispatch-disabled state
♦
U: Can be called from CPU-unlocked state
♦
L: Can be called from CPU-locked state