GlobalVariable.s43
上传用户:xhjmsc
上传日期:2019-09-13
资源大小:389k
文件大小:9k
- NAME GlobalVariable
- RTMODEL "__double_size", "32"
- RTMODEL "__pic", "no"
- RTMODEL "__reg_r4", "free"
- RTMODEL "__reg_r5", "free"
- RTMODEL "__rt_version", "1"
- RSEG CSTACK:DATA:SORT:NOROOT(1)
- EXTERN ?cstart_init_copy
- EXTERN ?cstart_init_zero
- EXTERN ?longjmp_r4
- EXTERN ?longjmp_r5
- EXTERN ?setjmp_r4
- EXTERN ?setjmp_r5
- PUBWEAK ?setjmp_save_r4
- PUBWEAK ?setjmp_save_r5
- PUBLIC ADDRESS_VALUE
- PUBLIC COLUMN_ADDRESS_HIGH
- PUBLIC COLUMN_ADDRESS_LOW
- PUBLIC COMMAND_VAL
- PUBLIC FLASH_READ_DATA
- PUBLIC FLASH_STATUS
- PUBLIC FRHTSI
- PUBLIC FTHCSI
- PUBLIC FTHDIS
- PUBLIC ROW_ADDRESS_HIGH
- PUBLIC ROW_ADDRESS_LOW
- PUBLIC aucSoftUartRxBuf
- PUBLIC aucUartRxBuf
- PUBLIC aucUartTxBuf
- PUBLIC aucViewData
- PUBLIC gdwRxQueueFrontCnt
- PUBLIC gdwRxQueueRearCnt
- PUBLIC gpucQueueFront
- PUBLIC gpucQueueRear
- PUBLIC gpucTxBufPnt
- PUBLIC gucFrhErrorStatus
- PUBLIC gucGeneralStatus
- PUBLIC gucSoftUartRxCnt
- PUBLIC gucTimeOverflowCount
- PUBLIC gucTxBufCnt
- PUBLIC gucUartRxCnt
- PUBLIC gwColumnAddress
- PUBLIC gwGeneralPageAddress
- PUBLIC gwPageAddress
- PUBLIC gwTimeOverflowCount
- PUBLIC gwTxNum
- // E:projectFaxProgramVson_Bryan_Fax_Conexant_070423filesGlobalVariable.c
- // 1 #include "includeH.h"
- // 2
- RSEG DATA16_Z:DATA:SORT:NOROOT(1)
- REQUIRE ?cstart_init_zero
- // 3 unsigned int gwTxNum;
- gwTxNum:
- DS8 2
- // 4
- RSEG DATA16_I:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_copy
- // 5 unsigned char FTHCSI[25]={0xff,0x03,0x40,0x20,0x20,0x20,0x20,0x20,
- FTHCSI:
- DS8 25
- REQUIRE `?<Initializer for FTHCSI>`
- // 6 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- // 7 0x78,0x61,0x46,0x10,0x03};//Default Value is @Fax 25Bytes
- RSEG DATA16_I:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_copy
- // 8 unsigned char FTHDIS[8]={0xff,0x13,0x80,0x00,0x46,0x78,0x10,0x03};//c6 T.4 2D 46 T.4 1D
- FTHDIS:
- DS8 8
- REQUIRE `?<Initializer for FTHDIS>`
- RSEG DATA16_I:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_copy
- // 9 unsigned char FRHTSI[25]={0xff,0x03,0x40,0x20,0x20,0x20,0x20,0x20,
- FRHTSI:
- DS8 25
- REQUIRE `?<Initializer for FRHTSI>`
- // 10 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
- // 11 0x78,0x61,0x46,0x10,0x03};//Default Value is @Fax 25Bytes
- // 12
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 13 unsigned char aucUartRxBuf[256];
- aucUartRxBuf:
- DS8 256
- RSEG DATA16_I:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_copy
- // 14 unsigned char aucUartTxBuf[32]={0x41,0x54,0x0D,0x0A};
- aucUartTxBuf:
- DS8 32
- REQUIRE `?<Initializer for aucUartTxBuf>`
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 15 unsigned char aucSoftUartRxBuf[20];
- aucSoftUartRxBuf:
- DS8 20
- // 16
- RSEG DATA16_I:DATA:SORT:NOROOT(1)
- REQUIRE ?cstart_init_copy
- // 17 unsigned int gwPageAddress=cstFaxContentStartPage-1;//2559;//1279, //for write flash page by page
- gwPageAddress:
- DS8 2
- REQUIRE `?<Initializer for gwPageAddress>`
- RSEG DATA16_Z:DATA:SORT:NOROOT(1)
- REQUIRE ?cstart_init_zero
- // 18 unsigned int gwColumnAddress=0; //for find blank page
- gwColumnAddress:
- DS8 2
- // 19
- // 20
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 21 unsigned char gucGeneralStatus=0;
- gucGeneralStatus:
- DS8 1
- // 22
- // 23
- // 24 /*
- // 25 unsigned char gucYear=0;
- // 26 unsigned char gucMonth=0;
- // 27 unsigned char gucDate=0;
- // 28 unsigned char gucHour=0x10;
- // 29 unsigned char gucMinute=0x00;
- // 30 unsigned char gucSecond=0;
- // 31 unsigned char gucViewRingNum=2;//default ring twice, start faxing
- // 32 //X RingNum Manual Auto X NewFax Sending Receiving
- // 33 unsigned char gucViewStaticStatus=0x51; //static status control default in Receiving status
- // 34 unsigned char gucViewDynamicStatus=0x00;//flash status control
- // 35 unsigned char gucIcon2=0; //reserved
- // 36 */
- RSEG DATA16_I:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_copy
- // 37 unsigned char aucViewData[] = {0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x51, 0x00, 0x00};
- aucViewData:
- DS8 10
- REQUIRE `?<Initializer for aucViewData>`
- // 38
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 39 unsigned char COMMAND_VAL=0;
- COMMAND_VAL:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 40 unsigned char ADDRESS_VALUE=0;
- ADDRESS_VALUE:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 41 unsigned char FLASH_READ_DATA=0;
- FLASH_READ_DATA:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 42 unsigned char FLASH_STATUS=0;
- FLASH_STATUS:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 43 unsigned char COLUMN_ADDRESS_LOW=0;
- COLUMN_ADDRESS_LOW:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 44 unsigned char COLUMN_ADDRESS_HIGH=0;
- COLUMN_ADDRESS_HIGH:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 45 unsigned char ROW_ADDRESS_LOW=0;
- ROW_ADDRESS_LOW:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 46 unsigned char ROW_ADDRESS_HIGH=0;
- ROW_ADDRESS_HIGH:
- DS8 1
- // 47
- // 48
- // 49
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 50 unsigned char gucFrhErrorStatus=0;
- gucFrhErrorStatus:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 51 unsigned char gucTimeOverflowCount=0;
- gucTimeOverflowCount:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 52 unsigned char gucTxBufCnt = 0;
- gucTxBufCnt:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 53 unsigned char gpucTxBufPnt=0;
- gpucTxBufPnt:
- DS8 1
- // 54
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 55 unsigned char gucUartRxCnt=0;
- gucUartRxCnt:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 56 unsigned char gucSoftUartRxCnt=0;
- gucSoftUartRxCnt:
- DS8 1
- // 57 //unsigned char gucRxTxFlag=0;
- // 58
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 59 unsigned char gpucQueueRear=0;
- gpucQueueRear:
- DS8 1
- RSEG DATA16_Z:DATA:SORT:NOROOT(0)
- REQUIRE ?cstart_init_zero
- // 60 unsigned char gpucQueueFront=0;
- gpucQueueFront:
- DS8 1
- // 61
- RSEG DATA16_Z:DATA:SORT:NOROOT(1)
- REQUIRE ?cstart_init_zero
- // 62 unsigned long gdwRxQueueRearCnt=0;
- gdwRxQueueRearCnt:
- DS8 4
- RSEG DATA16_Z:DATA:SORT:NOROOT(1)
- REQUIRE ?cstart_init_zero
- // 63 unsigned long gdwRxQueueFrontCnt=0;
- gdwRxQueueFrontCnt:
- DS8 4
- RSEG DATA16_Z:DATA:SORT:NOROOT(1)
- REQUIRE ?cstart_init_zero
- // 64 unsigned int gwTimeOverflowCount=0;
- gwTimeOverflowCount:
- DS8 2
- // 65
- RSEG DATA16_Z:DATA:SORT:NOROOT(1)
- REQUIRE ?cstart_init_zero
- // 66 unsigned int gwGeneralPageAddress;
- gwGeneralPageAddress:
- DS8 2
- RSEG DATA16_ID:CONST:SORT:NOROOT(0)
- `?<Initializer for FTHCSI>`:
- DC8 255, 3, 64, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32
- DC8 32, 32, 32, 120, 97, 70, 16, 3
- RSEG DATA16_ID:CONST:SORT:NOROOT(0)
- `?<Initializer for FTHDIS>`:
- DC8 255, 19, 128, 0, 70, 120, 16, 3
- RSEG DATA16_ID:CONST:SORT:NOROOT(0)
- `?<Initializer for FRHTSI>`:
- DC8 255, 3, 64, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32
- DC8 32, 32, 32, 120, 97, 70, 16, 3
- RSEG DATA16_ID:CONST:SORT:NOROOT(0)
- `?<Initializer for aucUartTxBuf>`:
- DC8 65, 84, 13, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- DC8 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
- RSEG DATA16_ID:CONST:SORT:NOROOT(1)
- `?<Initializer for gwPageAddress>`:
- DC16 5119
- RSEG DATA16_ID:CONST:SORT:NOROOT(0)
- `?<Initializer for aucViewData>`:
- DC8 16, 0, 0, 0, 0, 0, 2, 81, 0, 0
- RSEG CODE:CODE:NOROOT(1)
- ?setjmp_save_r4:
- REQUIRE ?setjmp_r4
- REQUIRE ?longjmp_r4
- RSEG CODE:CODE:NOROOT(1)
- ?setjmp_save_r5:
- REQUIRE ?setjmp_r5
- REQUIRE ?longjmp_r5
- END
- //
- // 102 bytes in segment DATA16_I
- // 102 bytes in segment DATA16_ID
- // 309 bytes in segment DATA16_Z
- //
- // 102 bytes of CONST memory
- // 411 bytes of DATA memory
- //
- //Errors: none
- //Warnings: none