compiler.h
来自「汽车电子解码器电缆测试。可以判断汽车故障在哪里」· C头文件 代码 · 共 28 行
H
28 行
/******************************************************************************************
* 目的:平台基本宏
******************************************************************************************/
//////////////////////////////////////////////////////////////////////////
// Define Of Compiler
//////////////////////////////////////////////////////////////////////////
#define code const __code static
#define bank __banked_func
#define root __root __near_func
#define UCHAR unsigned char
#define UINT unsigned int
#define ULONG unsigned long
/////////////////////////////////////////////////////////////////////////
// User Define
/////////////////////////////////////////////////////////////////////////
#define SUCCESS 1 //成功
#define FAIL 0 //失败
/////////////////////////////////////////////////////////////////////////
//#define DEBUGMODE
#ifdef DEBUGMODE
void DebugInit( unsigned long Buadrate );
void DebugString( char *string );
#endif
//----------------------------------------------------------------- End Of File --------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?