ソースの整理中ですが、利用はできます。
Dependencies: EthernetInterface HttpServer TextLCD mbed-rpc mbed-rtos mbed Socket lwip-eth lwip-sys lwip
mbed-rtos/rtx/rt_Mailbox.h@0:7766f6712673, 2014-03-12 (annotated)
- Committer:
- yueee_yt
- Date:
- Wed Mar 12 04:19:54 2014 +0000
- Revision:
- 0:7766f6712673
???????????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yueee_yt | 0:7766f6712673 | 1 | /*---------------------------------------------------------------------------- |
yueee_yt | 0:7766f6712673 | 2 | * RL-ARM - RTX |
yueee_yt | 0:7766f6712673 | 3 | *---------------------------------------------------------------------------- |
yueee_yt | 0:7766f6712673 | 4 | * Name: RT_MAILBOX.H |
yueee_yt | 0:7766f6712673 | 5 | * Purpose: Implements waits and wake-ups for mailbox messages |
yueee_yt | 0:7766f6712673 | 6 | * Rev.: V4.60 |
yueee_yt | 0:7766f6712673 | 7 | *---------------------------------------------------------------------------- |
yueee_yt | 0:7766f6712673 | 8 | * |
yueee_yt | 0:7766f6712673 | 9 | * Copyright (c) 1999-2009 KEIL, 2009-2012 ARM Germany GmbH |
yueee_yt | 0:7766f6712673 | 10 | * All rights reserved. |
yueee_yt | 0:7766f6712673 | 11 | * Redistribution and use in source and binary forms, with or without |
yueee_yt | 0:7766f6712673 | 12 | * modification, are permitted provided that the following conditions are met: |
yueee_yt | 0:7766f6712673 | 13 | * - Redistributions of source code must retain the above copyright |
yueee_yt | 0:7766f6712673 | 14 | * notice, this list of conditions and the following disclaimer. |
yueee_yt | 0:7766f6712673 | 15 | * - Redistributions in binary form must reproduce the above copyright |
yueee_yt | 0:7766f6712673 | 16 | * notice, this list of conditions and the following disclaimer in the |
yueee_yt | 0:7766f6712673 | 17 | * documentation and/or other materials provided with the distribution. |
yueee_yt | 0:7766f6712673 | 18 | * - Neither the name of ARM nor the names of its contributors may be used |
yueee_yt | 0:7766f6712673 | 19 | * to endorse or promote products derived from this software without |
yueee_yt | 0:7766f6712673 | 20 | * specific prior written permission. |
yueee_yt | 0:7766f6712673 | 21 | * |
yueee_yt | 0:7766f6712673 | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
yueee_yt | 0:7766f6712673 | 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
yueee_yt | 0:7766f6712673 | 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
yueee_yt | 0:7766f6712673 | 25 | * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
yueee_yt | 0:7766f6712673 | 26 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
yueee_yt | 0:7766f6712673 | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
yueee_yt | 0:7766f6712673 | 28 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
yueee_yt | 0:7766f6712673 | 29 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
yueee_yt | 0:7766f6712673 | 30 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
yueee_yt | 0:7766f6712673 | 31 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
yueee_yt | 0:7766f6712673 | 32 | * POSSIBILITY OF SUCH DAMAGE. |
yueee_yt | 0:7766f6712673 | 33 | *---------------------------------------------------------------------------*/ |
yueee_yt | 0:7766f6712673 | 34 | |
yueee_yt | 0:7766f6712673 | 35 | /* Functions */ |
yueee_yt | 0:7766f6712673 | 36 | extern void rt_mbx_init (OS_ID mailbox, U16 mbx_size); |
yueee_yt | 0:7766f6712673 | 37 | extern OS_RESULT rt_mbx_send (OS_ID mailbox, void *p_msg, U16 timeout); |
yueee_yt | 0:7766f6712673 | 38 | extern OS_RESULT rt_mbx_wait (OS_ID mailbox, void **message, U16 timeout); |
yueee_yt | 0:7766f6712673 | 39 | extern OS_RESULT rt_mbx_check (OS_ID mailbox); |
yueee_yt | 0:7766f6712673 | 40 | extern void isr_mbx_send (OS_ID mailbox, void *p_msg); |
yueee_yt | 0:7766f6712673 | 41 | extern OS_RESULT isr_mbx_receive (OS_ID mailbox, void **message); |
yueee_yt | 0:7766f6712673 | 42 | extern void rt_mbx_psh (P_MCB p_CB, void *p_msg); |
yueee_yt | 0:7766f6712673 | 43 | |
yueee_yt | 0:7766f6712673 | 44 | |
yueee_yt | 0:7766f6712673 | 45 | /*---------------------------------------------------------------------------- |
yueee_yt | 0:7766f6712673 | 46 | * end of file |
yueee_yt | 0:7766f6712673 | 47 | *---------------------------------------------------------------------------*/ |
yueee_yt | 0:7766f6712673 | 48 |