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

📄 msg.h

📁 Zigbee模块的详细电路原理图和C代码.rar
💻 H
字号:
/*******************************************************************************

       UBEC (Uniband Electronic Corp.)

       Project: U-NET01, Ubiquitous network platform

       File: msg.h

       Version: 0.1.1

       Usage: MSG Systen Define

       Platform: U-NET01 DK with IAR 8051 C compiler

       Reference:

               Silicon Laboratories: C8051F124

               UBEC: UZ2400

       Note : 

               Copyright (C) 2007 Uniband Electronic Corporation, All rights reserved

********************************************************************************/

#define MSG_MAX_QUEUE_SIZE 15

/*******************************************************************************

	MSG Parameters
					
********************************************************************************/

struct _message_buffer_{
		BOOL DataFlag;  // if the entry exist data?
		UINT8 Length;
		UINT8 MsgType;
		void *MsgPtr;					
}__attribute__ ((packed));
typedef struct _message_buffer_		MSG_BUFF;

struct _message_queue_{
	UINT8 QueueReadPoint;
	UINT8 QueueWritePoint;
	UINT8 QueueDataCount;

	MSG_BUFF Msg[MSG_MAX_QUEUE_SIZE];

}__attribute__ ((packed));
typedef struct _message_queue_	MSG_QUEUE;



⌨️ 快捷键说明

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