⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compiler.h

📁 In-system Programming with C51 MCU and External Flash
💻 H
字号:
/*H***************************************************************************
* NAME: compiler.h           
*----------------------------------------------------------------------------
* PURPOSE: 
* Defines compiler dependant definitions to enhance program portability. 
* Allows to remap exotic syntaxes to another exotic syntaxe without changing 
* C source files.
*****************************************************************************/

#ifndef _COMPILER_H_
#define _COMPILER_H_

/*_____ M A C R O S ________________________________________________________*/
#define FALSE  0
#define TRUE   1

/*_____ D E F I N I T I O N ________________________________________________*/
typedef unsigned char   Uchar;
typedef unsigned short  Uint16;
typedef signed int      Int16;
typedef float           Float16;
typedef unsigned char   Bool;

/* KEIL compiler syntax redefinition */
#define Reentrant(x)    x reentrant
#define Sfr(x,y)        sfr x = y
#define Sbit(x,y,z)     sbit x = y ^ z
#define Interrupt(x,y)  x interrupt y
#define At(x)           _at_ x

#endif /* _COMPILER_H_ */

⌨️ 快捷键说明

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