- 187 -
5.15 Extended Function (Short Data Queue)
Specifications of the Short data queue function of MR100 are listed in Table 5.26. This function is outside the scope of
µITRON 4.0 Specification.
Table 5.26 Specifications of the Short Data Queue Function
No. Item
Content
1 Data
queue
ID
1-255
2
Capacity (data bytes) in data queue area
0-16383
3
Data size
16 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.27 List of Long Dataqueue Function Service Call
System State
No. Service
Call Function
T N E D U L
1
vsnd_dtq
Sends to short data queue
O
O
O
2
vpsnd_dtq
O O O O
3 vipsnd_dtq
Sends to short data queue (polling)
O O O O
4
vtsnd_dtq
Sends to short data queue (with timeout)
O
O
O
5
vfsnd_dtq
O O O O
6 vifsnd_dtq
Forced sends to short data queue
O O O O
7
vrcv_dtq
Receives from short data queue
O
O
O
8
vprcv_dtq
O O O O
9 viprcv_dtq
Receives from short data queue (polling)
O O O O
10 vtrcv_dtq
Receives
from short data queue (with timeout)
O
O
O
11 vref_dtq
O O O O
12 viref_dtq
References short 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