Class_Define_H.h
上传用户:gxz1972
上传日期:2019-09-13
资源大小:323k
文件大小:2k
- //-----------------------------------------------------------------------------
- // Class_Define_H.h
- //-----------------------------------------------------------------------------
- // Copyright 2007 Vson Technology, Inc.
- // http://www.usbmcu.com
- //
- // Program Description:
- //
- //
- //
- //
- //
- // MCU: C8051F347
- // Tool chain: Keil C51 7.50 / Keil EVAL C51
- // Silicon Laboratories IDE version 2.6
- // Command Line:
- // Project Name: TR1000
- //
- //
- // Release 1.0
- // -All changes by Brin
- // -24 JUL 2007
- //
- #ifndef _Class_Define_H_
- #define _Class_Define_H_
- //-----------------------------------------------------------------------------
- // Function Prototypes
- //-----------------------------------------------------------------------------
- //-----------------------------------------------------------------------------
- // Global Constants
- //-----------------------------------------------------------------------------
-
- //-----------------------------------------------------------------------------
- // Data Type Define
- //-----------------------------------------------------------------------------
- typedef unsigned char UCHAR8;
- typedef unsigned char BYTE;
- typedef signed char CHAR8;
- typedef unsigned int UINT16;
- typedef unsigned int UINT;
- typedef signed int INT16;
- typedef unsigned long ULONG32;
- typedef signed long LONG32;
- typedef float FLOAT32;
- typedef double DOUBLE32;
- //-----------------------------------------------------------------------------
- //Define System standard constants
- //-----------------------------------------------------------------------------
- #define TURE 1
- #define FALSE 0
- #define ON 1
- #define OFF 0
- #define SUCCESS 1
- #define FAIL 0
-
- #define REMOTE_WAKE_ON 2
- #define REMOTE_WAKE_OFF 0
- #define SELF_POWER_ON 1
- #define SELF_POWER_OFF 0
- #define NULL (void *)0
- #endif
- //-----------------------------------------------------------------------------
- // End Of File
- //-----------------------------------------------------------------------------