📄 prototype.h
字号:
#ifndef PROTOTYPE_H
#define PROTOTYPE_H
/* ------------ */
/* Return CODES */
/* ------------ */
#define RET_OK 0
#define RET_ERR 1
/*******************/
/* TYPE DEFINITION */
/*******************/
typedef unsigned long ulong;
typedef unsigned long *pulong;
typedef unsigned short ushort;
typedef unsigned short *pushort;
typedef unsigned short word;
typedef unsigned short *pword;
typedef unsigned char byte;
typedef unsigned char *pbyte;
typedef unsigned char uchar;
/** Datatype to be used for 8 bit accesses */
typedef unsigned char U8; /* unsigned 8 bit data */
/** Datatype to be used for 16 bit accesses */
typedef unsigned short U16; /* unsigned 16 bit data */
/** Datatype to be used for 32 bit accesses */
typedef unsigned int U32;
//----------------------------------------------------------------------
// Some Genaral Macros
//----------------------------------------------------------------------
#define FALSE 0
#define TRUE 1
//#define DEBUG
#define HABTOOLKIT_FLASH_LIB
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -