msg.h
来自「NEC 的无线通讯方案」· C头文件 代码 · 共 54 行
H
54 行
/*
* $Id: msg.h,v 1.16 2007/10/30 06:17:16 sunny Exp $
*/
/*******************************************************************************
UBEC (Uniband Electronic Corp.)
Project: U-NET01, Ubiquitous network platform
File: msg.h
Version: 0.3.0
Usage: MSG Systen Define
Platform: U-NET01 DK with Keil 8051 C compiler
Reference:
Silicon Laboratories: C8051F124, C8051F340
UBEC: UZ2400, UZ2410
Note :
Copyright (C) 2007 Uniband Electronic Corporation, All rights reserved
********************************************************************************/
#define MSG_MAX_QUEUE_SIZE 25
#define MSG_MAX_PROCESS 5
/*******************************************************************************
MSG Parameters
********************************************************************************/
typedef struct _message_buffer_{
UINT8 DataFlag; // if the entry exist data?
UINT8 Length;
UINT8 MsgType;
void *MsgPtr;
}MSG_BUFF;
typedef struct _message_queue_ {
UINT8 QueueReadPoint ;
UINT8 QueueWritePoint;
UINT8 QueueDataCount;
MSG_BUFF Msg[MSG_MAX_QUEUE_SIZE];
}MSG_QUEUE;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?