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

📄 stdtypes.h

📁 单片机中的ADC模块
💻 H
字号:
#ifndef _STDTYPES_H
#define _STDTYPES_H

/*
 ********************************************************************
 *
 *	(c)Copyright Injectronix
 *
 *	The existence and contents of this document are
 *	confidential and neither may be revealed to any person or
 *	organization outside Detroit Diesel Corporation without
 *	permission.
 *
 *	Name:		stdtypes.h
 *
 *	Description:	standard type definitions
 *
 *	Notes:          None
 *
 *********************************************************************
 */

/* $Revision: 19 $ */
/* $Workfile: stdtypes.h $ */


/* These are the agreed typedef names to use when declaring external
 *  and static variables 
 */
typedef unsigned char UNS8;		/* unsigned 8 bit value */
#define MAX_UNS8 255

typedef signed char INT8;		/* signed twos complement 8 bit value */

typedef unsigned short UNS16;	/* unsigned 16 bit value */
#define MAX_UNS16 65535

typedef signed short INT16;		/* signed twos complement 16 bit value */

typedef unsigned long UNS32;	/* unsigned 32 bit value */
#define MAX_UNS32 429497295

typedef signed int INT32;

typedef unsigned int UNS;       /* unsigned don't care value */

#ifndef GCC
typedef unsigned long long UNS64;

typedef signed long long INT64;
#endif

/* Added LONGWORD to be compatible with motorola tpu code as delivered and to
 * prevent it from having to be changed each time.
 */
typedef unsigned long LONGWORD;

/* The following typedef names should be used  locally or for procedure
 *  parameters, if the size is not important, to let the
 *   compiler generate the best code it can
 */

#endif /* _STDTYPES_H */

⌨️ 快捷键说明

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