<ahref="chmboxes_8h.html">Go to the documentation of this file.</a><divclass="fragment"><preclass="fragment"><aname="l00001"></a>00001 <spanclass="comment">/*</span>
<aname="l00048"></a>00048 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> *mb_buffer; <spanclass="comment">/**< @brief Pointer to the mailbox</span>
<aname="l00050"></a>00050 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> *mb_top; <spanclass="comment">/**< @brief Pointer to the location</span>
<aname="l00051"></a>00051 <spanclass="comment"> after the buffer. */</span>
<aname="l00052"></a>00052 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> *mb_wrptr; <spanclass="comment">/**< @brief Write pointer. */</span>
<aname="l00053"></a>00053 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> *mb_rdptr; <spanclass="comment">/**< @brief Read pointer. */</span>
<aname="l00054"></a>00054 <aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> mb_fullsem; <spanclass="comment">/**< @brief Full counter</span>
<aname="l00063"></a>00063 <spanclass="preprocessor"></span><spanclass="keywordtype">void</span><aclass="code"href="group__mailboxes.html#gaff65b97bfdbf9144e9727a100a9be93a"title="Initializes a Mailbox object.">chMBInit</a>(Mailbox *mbp, <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> *buf, <aclass="code"href="group__types.html#ga090b3bab5602157ebf706a44041dc05e"title="Counter, recommended fastest signed.">cnt_t</a> n);
<aname="l00064"></a>00064 <spanclass="keywordtype">void</span><aclass="code"href="group__mailboxes.html#ga4199e224456395c3dbc74dbc889dff94"title="Resets a Mailbox object.">chMBReset</a>(Mailbox *mbp);
<aname="l00065"></a>00065 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__mailboxes.html#ga9bafcc634765886f59cf68c0e35d070d"title="Posts a message into a mailbox.">chMBPost</a>(Mailbox *mbp, <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> msg, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> timeout);
<aname="l00066"></a>00066 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__mailboxes.html#gac6514c185ae87c2633132478ea48d689"title="Posts a message into a mailbox.">chMBPostS</a>(Mailbox *mbp, <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> msg, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> timeout);
<aname="l00067"></a>00067 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__mailboxes.html#ga55c5b8890b78127bc1fa5a324252d5e6"title="Posts an high priority message into a mailbox.">chMBPostAhead</a>(Mailbox *mbp, <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> msg, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> timeout);
<aname="l00068"></a>00068 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__mailboxes.html#gaa9c91c0b781bec0df3540407d75b1bb3"title="Posts an high priority message into a mailbox.">chMBPostAheadS</a>(Mailbox *mbp, <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> msg, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> timeout);
<aname="l00069"></a>00069 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__mailboxes.html#ga61543bf11d0caa737f5818c67548c055"title="Retrieves a message from a mailbox.">chMBFetch</a>(Mailbox *mbp, <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> *msgp, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> timeout);
<aname="l00070"></a>00070 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__mailboxes.html#gadc562242a8854497a1f9539cb9ffea09"title="Retrieves a message from a mailbox.">chMBFetchS</a>(Mailbox *mbp, <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a> *msgp, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> timeout);
Generated on Sun Nov 28 2010 14:09:48 for ChibiOS/RT by <ahref="http://www.doxygen.org/index.html"><imgsrc="doxygen.png"alt="doxygen"align="middle"border="0"></a> 1.7.1</small></address>