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

传真(Fax)编程

开发平台:

C/C++

  1. extern unsigned int    gwTxNum;
  2. extern unsigned char   FTHCSI[25];//Default Value is @Fax 25Bytes
  3. extern unsigned char   FTHDIS[8];//c6 T.4 2D 46 T.4 1D
  4. extern unsigned char   aucUartRxBuf[];
  5. extern unsigned char   aucSoftUartRxBuf[];
  6. extern unsigned char   aucUartTxBuf[];
  7. extern unsigned char   FRHTSI[25];
  8. extern unsigned int  gwPageAddress;//2559;//1279, //for write flash page by page
  9. extern unsigned int  gwColumnAddress; //for find blank page
  10.               
  11. extern unsigned char  gucGeneralStatus;
  12. /*
  13. extern unsigned char gucYear;
  14. extern unsigned char gucMonth;
  15. extern unsigned char gucDate;
  16. extern unsigned char gucHour;
  17. extern unsigned char gucMinute;
  18. extern unsigned char gucSecond;
  19. extern unsigned char gucViewRingNum;//default ring twice, start faxing
  20. extern unsigned char gucViewStaticStatus; //static status control default in Receiving status
  21. extern unsigned char gucViewDynamicStatus;//flash status control
  22. extern unsigned char gucIcon2;            //reserved
  23. */
  24. extern unsigned char aucViewData[];
  25. #define gucViewRingNum       aucViewData[cstViewRingNumIndex]
  26. #define gucViewStaticStatus  aucViewData[cstViewStaticStatusIndex]
  27. #define gucViewDynamicStatus aucViewData[cstViewDynamicStatusIndex]
  28. #define gucViewDceNewFaxNum  aucViewData[cstViewDceNewFaxNumIndex]
  29. extern unsigned char  COMMAND_VAL;
  30. extern unsigned char  ADDRESS_VALUE;
  31. extern unsigned char FLASH_READ_DATA;
  32. extern unsigned char FLASH_STATUS; 
  33. extern unsigned char COLUMN_ADDRESS_LOW;
  34. extern unsigned char COLUMN_ADDRESS_HIGH;
  35. extern unsigned char ROW_ADDRESS_LOW;
  36. extern unsigned char ROW_ADDRESS_HIGH;
  37. extern unsigned char  gucFrhErrorStatus;
  38. extern unsigned char  gucTimeOverflowCount;
  39. extern unsigned char  gucTxBufCnt;
  40. extern unsigned char  gpucTxBufPnt;
  41. extern unsigned char  gucUartRxCnt;
  42. extern unsigned char  gucSoftUartRxCnt;
  43. //unsigned char  gucRxTxFlag=0;
  44. extern unsigned char  gpucQueueRear; 
  45. extern unsigned char  gpucQueueFront;
  46. extern unsigned long  gdwRxQueueRearCnt; 
  47. extern unsigned long  gdwRxQueueFrontCnt;
  48. extern unsigned int  gwTimeOverflowCount;
  49. extern unsigned int  gwGeneralPageAddress;