⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 typedef.h

📁 这个是Linux下的应用程序
💻 H
字号:
/* 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -