20.14 Mailbox Information (mailbox[])
Here, each mailbox is defined.
Parentheses < >show the user input part.
- Description
Define the mailbox ID number.
- Definition format
Numeric value
- Definition range
From 1 to 255
- When omitting
The cfg600px assigns the ID number automatically.
- Description
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
#define <ID name> <ID number>
- Definition format
Symbol
- When omitting
Cannot be omitted.
3 ) Wait queue attribute (
wait_queue)
- Description
Define the wait queue attribute.
- Definition format
Symbol
- Definition range
Select either of the following:
TA_TPRI: Task current priority order
Among tasks with the same current priority, they are queued in FIFO order.
- When omitting
The set value in the default system configuration file (factory setting: TA_TFIFO) applied.
4 ) Message queue attribute (
message_queue)
- Description
Define the message queue attribute.
- Definition format
Symbol
- Definition range
Select either of the following:
TA_MFIFO: The order of the message transmission request.
TA_MPRI: Message priority order
- When omitting
The set value in the default system configuration file (factory setting: TA_MFIFO) applied.
5 ) Maximum message priority (
max_pri)
- Description
When TA_MPRI is specified for
message_queue, the message priority from 1 to
max_pri can be used.
When TA_MFIFO is specified for
message_queue, this item is only disregarded.
- Definition format
Numeric value
- When omitting
The set value in the default system configuration file (factory setting: 1) applied.