Go to the documentation of this file.00001 #ifndef MEMDEFS_H_
00002 #define MEMDEFS_H_
00003
00004 #ifdef __C51__
00005 #define __no_init
00006 #endif
00007
00008 #ifdef __ICC8051__
00009
00010 #define idata __idata
00011 #define xdata __xdata
00012 #define code __code
00013 #define data __data
00014 #define pdata __pdata
00015 #define _at_ @
00016 #define _nop_() __no_operation()
00017 #define bit __bit
00018 __sfr __no_init volatile unsigned int CRC @ 0xCA;
00019 __sfr __no_init volatile unsigned int T2 @ 0xCC;
00020
00021 #define reentrant
00022 #if __DATA_MODEL__ == __DATA_MODEL_LARGE__
00023 #warning "if not using large data model: reentrant procedures must be declared using IAR syntax"
00024 #endif
00025
00026 #define CLKCTRL CLKFCTL
00027
00028 #ifndef NULL
00029 #define NULL _NULL
00030 #endif
00031
00032 #endif
00033
00034 #endif