#include <rtl.h>
void os_mbx_init (
OS_IDmailbox, /* The mailbox to initialize */
U16 mbx_size ); /* Number of bytes in the mailbox */
Description
The os_mbx_init function initializes the mailbox
object identified by the function argument.
The argument mbx_size specifies the size of the mailbox, in
bytes. However, the number of message entries in the mailbox is
defined by the os_mbx_declare macro.
The os_mbx_init function is in the RL-RTX library. The
prototype is defined in rtl.h.
Note
You must declare and initialize the mailbox before you perform
any operation on it.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.