?? msg.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 + -