typedef.h
来自「这个是Linux下的应用程序」· C头文件 代码 · 共 78 行
H
78 行
/* set tabstop=4 */
/********************************************************************************
* *
* Copyright(C) 2002 Penta-Micro *
* *
* ALL RIGHT RESERVED *
* *
* This software is the property of Penta-Micro and is furnished under *
* license by Penta-Micro. This software may be used only in accordance *
* with the terms of said license. This copyright notice may not be *
* removed, modified or obliterated without the prior written permission *
* of Penta-Micro. *
* *
* This software may not be copyed, transmitted, provided to or otherwise *
* made available to any other person, company, corporation or other entity *
* except as specified in the terms of said license. *
* *
* No right, title, ownership or other interest in the software is hereby *
* granted or transferred. *
* *
* The information contained herein is subject to change without notice and *
* should not be construed as a commitment by Penta-Micro. *
* *
********************************************************************************
MODULE NAME: TYPEDEF.H
REVISION HISTORY:
DESCRIPTION:
This Module contains variable type definitions.
...............................................................................
*/
#ifndef _TYPEDEF_H_
#define _TYPEDEF_H_
/** ************************************************************************* **
** includes
** ************************************************************************* **/
/** ************************************************************************* **
** defines
** ************************************************************************* **/
/** ************************************************************************* **
** typedefs
** ************************************************************************* **/
typedef unsigned char uns8; /* 8-bit */
typedef unsigned short uns16; /* 16-bit */
typedef unsigned int uns32; /* 32-bit */
#define TRUE 1
#define FALSE 0
typedef unsigned int BOOL;
typedef unsigned short WORD;
typedef struct __SET_REG_STR__ {
unsigned short cmd_num;
unsigned short addr;
unsigned short value[6];
}_SET_REG_STR_;
/** ************************************************************************* **
** function prototypes
** ************************************************************************* **/
#endif //_TYPEDEF_H_
/* end of typedef.h */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?