types.h

来自「射频芯片cc2420的使用例程」· C头文件 代码 · 共 44 行

H
44
字号
#ifndef TYPES_H
#define TYPES_H

// 一般的数据类型
typedef unsigned char		BOOL;

typedef unsigned char		BYTE;
typedef unsigned int		WORD;
typedef unsigned long		DWORD;
typedef unsigned long long	QWORD;

typedef unsigned char		UINT8;
typedef unsigned short		UINT16;
typedef unsigned long		UINT32;
typedef unsigned long long	UINT64;

typedef signed char			INT8;
typedef signed short		INT16;
typedef signed long			INT32;
typedef signed long long	INT64;

typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned long uint32;
typedef unsigned long long uint64;

typedef signed char int8;
typedef signed short int16;
typedef signed long int32;
typedef signed long long int64;

// 一般的值
#ifndef FALSE
	#define FALSE 0
#endif
#ifndef TRUE
	#define TRUE 1
#endif
#ifndef NULL
	#define NULL 0
#endif

#endif

⌨️ 快捷键说明

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