netcomm.h

来自「基于vxworks操作系统的电话语音平台系统」· C头文件 代码 · 共 47 行

H
47
字号
/*-----------------------------------------------------------------------------
*
* File:  netcomm.h
*
* Description:
*
*	This file contains all general data definitions for software shared by the
*	Netcomm software group.
*
* History:
*
* 9/23/97    jay        Initial version.
*
*-----------------------------------------------------------------------------*/


/********************************************************************/
/*                 GENERAL CONSTANTS AND DEFINITIONS 				*/
/********************************************************************/

/*#define TRUE 	1*/
/*#define FALSE 	0*/
#define ON		1
#define OFF		0

/*------------------------*/
/* Fundamental Data Types */
/*------------------------*/

#define BYTE 	char
#define UBYTE 	unsigned char
#define HWORD 	short
#define UHWORD 	unsigned short
#define WORD 	long
#define UWORD 	unsigned long

/*#define BOOL unsigned char*/

#define VBYTE 	volatile char
#define VUBYTE 	volatile unsigned char
#define VHWORD 	volatile short
#define VUHWORD volatile unsigned short
#define VWORD 	volatile long
#define VUWORD 	volatile unsigned long
#define VBOOL 	volatile unsigned char

⌨️ 快捷键说明

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