GlobalVariable.c
上传用户:xhjmsc
上传日期:2019-09-13
资源大小:389k
文件大小:2k
- #include "includeH.h"
- unsigned int gwTxNum;
- unsigned char FTHCSI[25]={0xff,0x03,0x40,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x78,0x61,0x46,0x10,0x03};//Default Value is @Fax 25Bytes
- unsigned char FTHDIS[8]={0xff,0x13,0x80,0x00,0x46,0x78,0x10,0x03};//c6 T.4 2D 46 T.4 1D
- unsigned char FRHTSI[25]={0xff,0x03,0x40,0x20,0x20,0x20,0x20,0x20,
- 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- 0x78,0x61,0x46,0x10,0x03};//Default Value is @Fax 25Bytes
- unsigned char aucUartRxBuf[256];
- unsigned char aucUartTxBuf[32]={0x41,0x54,0x0D,0x0A};
- unsigned char aucSoftUartRxBuf[20];
- unsigned int gwPageAddress=cstFaxContentStartPage-1;//2559;//1279, //for write flash page by page
- unsigned int gwColumnAddress=0; //for find blank page
-
- unsigned char gucGeneralStatus=0;
- /*
- unsigned char gucYear=0;
- unsigned char gucMonth=0;
- unsigned char gucDate=0;
- unsigned char gucHour=0x10;
- unsigned char gucMinute=0x00;
- unsigned char gucSecond=0;
- unsigned char gucViewRingNum=2;//default ring twice, start faxing
- //X RingNum Manual Auto X NewFax Sending Receiving
- unsigned char gucViewStaticStatus=0x51; //static status control default in Receiving status
- unsigned char gucViewDynamicStatus=0x00;//flash status control
- unsigned char gucIcon2=0; //reserved
- */
- unsigned char aucViewData[] = {0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x51, 0x00, 0x00};
- unsigned char COMMAND_VAL=0;
- unsigned char ADDRESS_VALUE=0;
- unsigned char FLASH_READ_DATA=0;
- unsigned char FLASH_STATUS=0;
- unsigned char COLUMN_ADDRESS_LOW=0;
- unsigned char COLUMN_ADDRESS_HIGH=0;
- unsigned char ROW_ADDRESS_LOW=0;
- unsigned char ROW_ADDRESS_HIGH=0;
- unsigned char gucFrhErrorStatus=0;
- unsigned char gucTimeOverflowCount=0;
- unsigned char gucTxBufCnt = 0;
- unsigned char gpucTxBufPnt=0;
- unsigned char gucUartRxCnt=0;
- unsigned char gucSoftUartRxCnt=0;
- //unsigned char gucRxTxFlag=0;
- unsigned char gpucQueueRear=0;
- unsigned char gpucQueueFront=0;
- unsigned long gdwRxQueueRearCnt=0;
- unsigned long gdwRxQueueFrontCnt=0;
- unsigned int gwTimeOverflowCount=0;
- unsigned int gwGeneralPageAddress;