compiler.h

来自「无线单片机cc2430简化协议的无线收发程序」· C头文件 代码 · 共 48 行

H
48
字号
/*
  V0.1 Initial Release   10/July/2006  RBR

*/

#ifndef COMPILER_H
#define COMPILER_H

#include <stdio.h>

#define IAR8051

/******************************************************************************
*******************              Commonly used types        *******************
******************************************************************************/
typedef unsigned char       BOOL;

// Data
typedef unsigned char       BYTE;
typedef unsigned short      WORD;
typedef unsigned long       DWORD;

// Unsigned numbers
typedef unsigned char       UINT8;
typedef unsigned short      UINT16;
typedef unsigned long       UINT32;

// Signed numbers
typedef signed char         INT8;
typedef signed short        INT16;
typedef signed long         INT32;

//char type in ROM memory
typedef  unsigned char const __code    ROMCHAR ;


//Define these compiler labels

//uncomment this if compiler is BIG ENDIAN
//define LWRPAN_COMPILER_BIG_ENDIAN

//uncomment this if compiler does not support recursion
//define LWRPAN_COMPILER_NO_RECURSION



#endif

⌨️ 快捷键说明

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