Download RI850V4 Real-Time Operating System User`s Manual: Coding
Transcript
RI850V4 Ver.1.00.00
CHAPTER 6 SYNCHRONIZATION AND COMMUNICATION
FUNCTIONS
- When using a mailbox with the TA_MPRI attribute
The contents and length past the first 8 bytes of a message (system reserved area msgque, priority level msgpri)
are not restricted in particular in the RI850V4.
Therefore, the contents and length past the first 8 bytes are prescribed among the processing programs that
exchange data using the mailbox with the TA_MPRI attribute.
The following shows the basic form of coding TA_MPRI attribute messages in C.
[Message packet for TA_MPRI attribute]
typedef struct t_msg_pri {
struct t_msg
msgque;
PRI
msgpri;
} T_MSG_PRI;
6.5.2
/*Reserved for future use*/
/*Message priority*/
Note 1
In the RI850V4, a message having a smaller priority number is given a higher priority.
Note 2
Values that can be specified as the message priority level are limited to the range defined in Mailbox
information (Maximum message priority: maxmpri) when the system configuration file is created.
Note 3
For details about the message packet, refer to "16.2.7 Message packet".
Create mailbox
In the RI850V4, the method of creating a mailbox is limited to "static creation".
Mailboxes therefore cannot be created dynamically using a method such as issuing a service call from a processing
program.
Static mailbox creation means defining of mailboxes using static API "CRE_MBX" in the system configuration file.
For details about the static API "CRE_MBX", refer to "18.5.5 Data queue information".
R20UT0515EJ0100 Rev.1.00
Apr 01, 2011
Page 90 of 406
Related documents
RI850V4 V2 Real-Time Operating System User`s Manual: Coding
User's Guide to ddsip – A C Package for the Dual Decomposition of
RI850V4 V2 Real-Time Operating System User`s Manual: Debug
RI850MP Real-Time Operating System User`s Manual: Coding
HI1000/4 V.1.04 User`s Manual
Coding - Renesas Electronics
RI600/4 V.1.00 User`s Manual
RI600PX Real-Time Operating System User`s Manual: Coding
MR8C/4 V.1.01 User`s Manual
RI850V4 V1.00.02 Real-Time Operating System User`s Manual
RI78V4 Real-Time Operating System User`s Manual: Coding
M3T-MR30/4 V.4.01 User`s Manual