ads.h

来自「基于AT91SAM7S64的温度计」· C头文件 代码 · 共 56 行

H
56
字号
//*----------------------------------------------------------------------------
//*         ATMEL Microcontroller Software Support  -  ROUSSET  -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//* File Name           : ADS_c.h
//* Object              : Standard C Header File
//*
//* 1.0 01/04/00 MZY    : Creation
//*----------------------------------------------------------------------------

#ifndef ADS_h
#define ADS_h

/*----------------*/
/* Standard types */
/*----------------*/

typedef unsigned int        u_int   ;
typedef unsigned short      u_short ;
typedef unsigned char       u_char  ;

#define uchar unsigned char
#define uint  unsigned int
#define ulong unsigned long int


typedef unsigned char  BOOLEAN;         
typedef unsigned char  INT8U;          /* Unsigned  8 bit quantity */
typedef signed   char  INT8S;          /* Signed    8 bit quantity */
typedef unsigned short INT16U;         /* Unsigned 16 bit quantity */
typedef signed   short INT16S;         /* Signed   16 bit quantity */
typedef unsigned int   INT32U;         /* Unsigned 32 bit quantity */
typedef signed   int   INT32S;         /* Signed   32 bit quantity */

#define BYTE           INT8S 
#define UBYTE          INT8U
#define WORD           INT16S
#define UWORD          INT16U
#define LONG           INT32S
#define ULONG          INT32U


/*----------------*/
/* Boolean values */
/*----------------*/

#define TRUE                1
#define FALSE               0

#endif /* ADSh */

⌨️ 快捷键说明

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