00001 #ifndef _DEFINE_H_
00002 #define _DEFINE_H_
00003
00004 typedef unsigned char UCHAR;
00005 typedef unsigned int UINT;
00006 typedef unsigned long ULONG;
00007 typedef unsigned char UC;
00008 typedef unsigned int UI;
00009 typedef unsigned long UL;
00010 typedef unsigned char INT8U;
00011 typedef unsigned int INT16U;
00012 typedef unsigned long INT32U;
00013 typedef unsigned char INT8;
00014 typedef unsigned int INT16;
00015 typedef unsigned long INT32;
00016
00017 typedef union{
00018 UI ui;
00019 UC uc[2];
00020 }UN_UI;
00021
00022 typedef union{
00023 UL ul;
00024 UC uc[4];
00025 }UN_UL;
00026
00027 #define ENABLE_REENTRANCE_FEATURE 0
00028 #if(ENABLE_REENTRANCE_FEATURE==1)
00029 #define LargeReentrant large reentrant
00030 #else
00031 #define LargeReentrant
00032 #endif
00033
00034 #define TRUE 1
00035 #define FALSE 0
00036 #define ENABLE_DEBUG 0
00037 #define BAUDRATE 9600 // 9600bps ,19200, 38400
00038
00039 #endif