type_def.h
来自「嵌入式系统」· C头文件 代码 · 共 54 行
H
54 行
/*-----------------------------------------------------------------------------
@@
@@ Copyright (c) 1999 Sharp Corporation All rights reserved.
@@
@@ (Summary) : Common data type definitions for ARM device driver
@@
@@ (Comment) : Global definition.
@@
@@ (Author) : Leow Yee Ling
@@
@@ (History) :
@@
@@ (RCS ID) :
@@
-----------------------------------------------------------------------------*/
#ifndef TYPE_DEF
#define TYPE_DEF
/*----- INLINE declaration -----*/
#define APD_INLINE __inline
/*----- Constant declaration -----*/
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef NULL
#define NULL (void *)0
#endif
/*----- Declaration of common type -----*/
#ifndef APD_VOID
typedef void APD_VOID;
#endif /*VOID*/
typedef unsigned char APD_BOOLEAN;
typedef unsigned char APD_UCHAR;
typedef unsigned short APD_USHORT;
typedef unsigned long APD_ULONG;
typedef char APD_CHAR;
typedef short APD_SHORT;
typedef long APD_LONG;
typedef float APD_FLOAT;
typedef double APD_DOUBLE;
typedef unsigned long APD_REG;
#endif /* APD_TYPE_DEF */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?