public._h

来自「网卡驱动程序」· _H 代码 · 共 21 行

_H
21
字号
#ifndef __PUBLIC_H
#define __PUBLIC_H

#include <macros.h>   

#define	SETBIT(x,y) (x|=(1<<y))      //set bit y in byte x
#define	CLRBIT(x,y) (x&=(~(1<<y)))   //clear bit y in byte x
#define	CHKBIT(x,y) (x&(1<<y))       //check bit y in byte x

typedef unsigned char U_8 ;
typedef signed char U_8S;
typedef unsigned int U_16;
typedef signed int U_16S;
typedef unsigned U_32;
typedef signed long U_32S;

//Typedef float FP_32;
//Typedef double FP_64;

#endif

⌨️ 快捷键说明

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