⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mailbox.h

📁 IT projecotr reference design.
💻 H
字号:
/****************************************************************************/
/*             TEXAS INSTRUMENTS PROPRIETARY INFORMATION                    */
/*                                                                          */
/*  (c) Copyright, Texas Instruments Incorporated, 2006.                    */
/*      All Rights Reserved.                                                */
/*                                                                          */
/*  Property of Texas Instruments Incorporated. Restricted Rights -         */
/*  Use, duplication, or disclosure is subject to restrictions set          */
/*  forth in TI's program license agreement and associated documentation.   */
/****************************************************************************/

/****************************************************************************/
/* mailbox.h                                                                */
/*                                                                          */
/* Application mailbox interface.                                           */
/****************************************************************************/

#ifndef __MAILBOX_H
#define __MAILBOX_H

#include "common.h"


typedef enum
{
    MBM_FAIL,                                    /* general message failure */
    MBM_PASS,                                       /* successful operation */
    MBM_EVENT,                             /* failed to allocate RTOS event */
    MBM_SEND,                       /* RTOS failure in sending RTOS message */
    MBM_RECV,                     /* RTOS failure in receiving RTOS message */
    MBM_NOMSG,                               /* timeout waiting for message */
    MBM_NORESP                              /* timeout waiting for response */
}
  MBM_CC;
    
MBM_CC mbRecv( uint32 mbxID, int32 blocktime, void (*mbCallback)( uint16 msgID, uint32 parm, uint32 parm2 ));
MBM_CC mbSend( uint32 mbxID, uint16 msgID, int32 blocktime, uint32 parm, BOOL dispose, uint32 parm2 );

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -