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

📄 type.h

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

       UBEC (Uniband Electronic Corp.)

       Project: U-NET01, Ubiquitous network platform

       File: type.h

       Version: 0.1.1

       Usage:  Data type defitions

       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

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

#ifndef true
#define 	true 0x1
#endif

#ifndef false
#define	false 0x0
#endif

//Define external memory data type
#define XUINT32	unsigned int __xdata 		
#define XUINT16	unsigned short __xdata	
#define XUINT8	unsigned char __xdata
#define XINT32	int __xdata 
#define XINT16	short __xdata
#define XINT8	char __xdata			
 
#define UINT32	unsigned int  		
#define UINT16	unsigned short 	
#define UINT8	unsigned char 		
#define INT32	int  
#define INT16	short
#define INT8	char 			
#define PUINT32	unsigned int *

//define the BOOLN type
typedef	UINT8	BOOL;

#define EOF     (-1)

⌨️ 快捷键说明

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