ylystd.h

来自「51单片机控制网卡实现上网程序代码」· C头文件 代码 · 共 51 行

H
51
字号
#ifndef _YLYSTD_H
#define _YLYSTD_H

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

#ifndef TRUE
   #define TRUE  1
   #define FALSE 0
#endif

#ifndef NULL
   #define NULL 0
#endif

#ifndef uchar
   typedef unsigned char  uchar;
   typedef unsigned int   uint;
   typedef unsigned short ushort;
   typedef unsigned long  ulong;
#endif

#ifndef WORD
   typedef unsigned short WORD;
   typedef unsigned char  BYTE;
#endif


#ifndef u8_t
   typedef unsigned char  u8_t;
   typedef unsigned short u16_t;
   typedef unsigned long  u32_t;
   typedef char  s8_t;
   typedef short s16_t;
   typedef long  s32_t;
#endif

#ifndef INT8U
   typedef unsigned char INT8U;
   typedef unsigned short INT16U;
   typedef unsigned long  INT32U;
   typedef char  INT8S;
   typedef short INT16S;
   typedef long  INT32S;
#endif

#ifndef BOOL
   typedef unsigned char BOOL;
#endif

#endif /* define _YLYSTD_H */

⌨️ 快捷键说明

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