#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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.