Class_Define_H.h
上传用户:gxz1972
上传日期:2019-09-13
资源大小:323k
文件大小:2k
源码类别:

传真(Fax)编程

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // Class_Define_H.h
  3. //-----------------------------------------------------------------------------
  4. // Copyright 2007 Vson Technology, Inc.
  5. // http://www.usbmcu.com
  6. //
  7. // Program Description:
  8. //
  9. //
  10. //
  11. //
  12. //
  13. // MCU:            C8051F347
  14. // Tool chain:     Keil C51 7.50 / Keil EVAL C51
  15. //                 Silicon Laboratories IDE version 2.6
  16. // Command Line:   
  17. // Project Name:   TR1000
  18. //
  19. //
  20. // Release 1.0
  21. //    -All changes by Brin
  22. //    -24 JUL 2007
  23. //
  24. #ifndef  _Class_Define_H_
  25. #define  _Class_Define_H_ 
  26. //-----------------------------------------------------------------------------
  27. // Function Prototypes
  28. //-----------------------------------------------------------------------------
  29. //-----------------------------------------------------------------------------
  30. // Global Constants
  31. //-----------------------------------------------------------------------------
  32. //-----------------------------------------------------------------------------
  33. // Data Type Define
  34. //-----------------------------------------------------------------------------
  35. typedef unsigned char UCHAR8;
  36. typedef unsigned char BYTE;
  37. typedef signed char CHAR8;
  38. typedef unsigned int UINT16;
  39. typedef unsigned int UINT;
  40. typedef signed int INT16;
  41. typedef unsigned long ULONG32;
  42. typedef signed long LONG32;
  43. typedef float     FLOAT32;
  44. typedef double   DOUBLE32;
  45. //-----------------------------------------------------------------------------
  46. //Define System standard constants
  47. //-----------------------------------------------------------------------------
  48. #define TURE 1
  49. #define FALSE 0
  50. #define ON 1
  51. #define OFF 0
  52. #define SUCCESS 1
  53. #define FAIL 0
  54. #define REMOTE_WAKE_ON     2
  55.   #define REMOTE_WAKE_OFF    0
  56.   #define SELF_POWER_ON      1
  57.   #define SELF_POWER_OFF     0
  58. #define NULL (void *)0
  59. #endif                                 
  60. //-----------------------------------------------------------------------------
  61. // End Of File
  62. //-----------------------------------------------------------------------------