?? msg.h
字號:
//====================================================================================
// 文 件 名: msg.h
// 功能描述: 消息結(jié)構(gòu)定義
// 維護記錄: 2007年9月5日
//====================================================================================
#define MSG_MAX_QUEUE_SIZE 8
/*******************************************************************************
MSG Parameters
********************************************************************************/
struct _message_buffer_{
BOOL DataFlag; // if the entry exist data?
UINT8 Length;
UINT8 MsgType;
void *MsgPtr;
};
typedef struct _message_buffer_ MSG_BUFF;
struct _message_queue_{
UINT8 QueueReadPoint;
UINT8 QueueWritePoint;
UINT8 QueueDataCount;
MSG_BUFF Msg[MSG_MAX_QUEUE_SIZE];
};
typedef struct _message_queue_ MSG_QUEUE;
/****************************************************************************************
* Function:
* Description: 釋放一個節(jié)點的數(shù)據(jù)庫,重新連接鏈表
* Syntax:
* Modify:
* parameter: UINT8 number 要釋放的數(shù)據(jù)庫在鏈表中的位置
* Returns: 無
* Notes:
* Date: 2007-04-06
* Author: ZijianWang
****************************************************************************************/
void FreeChild( UINT16 ShortAddr );
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -