![](http://pdfasset.owneriq.net/9/fb/9fbfa399-be01-4490-812f-c791db5ef399/9fbfa399-be01-4490-812f-c791db5ef399-bg8d.png)
- 127 -
5.6 Synchronization & Communication Function (Mailbox)
Specifications of the mailbox function of MR100 are listed in Table 5.11.
Table 5.11 Specifications of the Mailbox Function
No. Item Content
1 Mailbox ID 1-255
2 Mailbox priority 1-255
TA_TFIFO: Waiting tasks enqueued in order of FIFO
TA_TPRI: Waiting tasks enqueued in order of priority
TA_MFIFO: Messages enqueued in order of FIFO
3 Mailbox attribute
TA_MPRI: Messages enqueued in order of priority
Table 5.12 List of Mailbox Function Service Call
System State
No
.
Service Call Function
TN E D UL
1 snd_mbx
[S][B]
O O O O
2 isnd_mbx
Send to mailbox
O O O O
3 rcv_mbx
[S][B]
Receive from mailbox O O O
4 prcv_mbx
[S][B]
O O O O
5 iprcv_mbx
Receive from mailbox(polling)
O O O O
6 trcv_mbx
[S]
Receive from mailbox(with timeout) O O O
7 ref_mbx O O O O
8 iref_mbx
Reference mailbox 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