📄 udocc_error_a02340
字号:
/*
uDOC32 compiler problem report - Tue Apr 08 23:27:09 2008
Please report this problem to <fae@sunplus.com>.
If possible, please attach a copy of this file with your report.
PLEASE NOTE: This file contains a preprocessed copy of the source file
that may have led to this problem occurring.
Compiler command line (u'nSP ABI):
"C:\\PROGRA~1\\Sunplus\\UNSPID~1.3\\udocc" -S -gstabs -Wall -mglobal-var-iram -mISA=1.1 "-BC:\\PROGRA~1\\Sunplus\\UNSPID~1.3\\" -IE:/xian -I./corpus -I./SPT6608 -I./wentong
Version 0.9.14 build information:
ChangeSet unknown
Built by shengguo@ in unknown
Build date 2005-12-20 17:09:55 +0800
The remainder of this file contains a preprocessed copy of the
source file that appears to have led to this problem.
*/
# 1 "E:\\xian\\text1.c"
# 1 "E:\\xian\\a1600.h" 1
# 1 ".\\SPT6608\\SPT6608.h" 1
typedef union
{
unsigned int Word;
struct
{
unsigned int bit0 : 1;
unsigned int bit1 : 1;
unsigned int bit2 : 1;
unsigned int bit3 : 1;
unsigned int bit4 : 1;
unsigned int bit5 : 1;
unsigned int bit6 : 1;
unsigned int bit7 : 1;
unsigned int bit8 : 1;
unsigned int bit9 : 1;
unsigned int bit10 : 1;
unsigned int bit11 : 1;
unsigned int bit12 : 1;
unsigned int bit13 : 1;
unsigned int bit14 : 1;
unsigned int bit15 : 1;
}Bits;
struct
{
unsigned int byte0 : 8;
unsigned int byte1 : 8;
}Byte;
}Gen_Type_Def;
typedef union
{
struct Bit8Def
{
unsigned int bitl : 8;
unsigned int bith : 8;
}Bit8Def;
struct wordfielddef
{
unsigned int bit : 16;
}WORDFIELDDEF;
}FIELDDEF;
typedef union
{
unsigned int W;
struct
{
unsigned int Reserve : 6;
unsigned int PullLow : 2;
unsigned int PullHigh : 8;
} B;
} P_IOAE_PullR_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int C0EG : 2;
unsigned int C1EG : 2;
unsigned int TMSL : 1;
unsigned int D1Tone : 1;
unsigned int Reserve : 10;
} B;
} P_IOCD_Ctrl_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int RingDet : 1;
unsigned int IOAE : 1;
unsigned int TMAOC : 1;
unsigned int TMBOC : 1;
unsigned int T32KHz : 1;
unsigned int T2KHz : 1;
unsigned int T128Hz : 1;
unsigned int T8Hz : 1;
unsigned int IOC0INT : 1;
unsigned int IOC1INT : 1;
unsigned int LineInt : 1;
unsigned int UART : 1;
unsigned int Reserve : 4;
} B;
} P_Int_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int RingDet : 1;
unsigned int IOAE : 1;
unsigned int TMAOC : 1;
unsigned int TMBOC : 1;
unsigned int T32KHz : 1;
unsigned int T2KHz : 1;
unsigned int T128Hz : 1;
unsigned int T8Hz : 1;
unsigned int IOC0WP : 1;
unsigned int IOC1WP : 1;
unsigned int LineWP : 1;
unsigned int Reserve : 5;
} B;
} P_WakeUp_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int SCK : 3;
unsigned int Reserve1 : 4;
unsigned int Mode : 1;
unsigned int Reserve2 : 8;
} B;
} P_SystemClock_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int T8S : 2;
unsigned int T128S : 2;
unsigned int T2KS : 2;
unsigned int T32KS : 2;
unsigned int Reserve : 6;
unsigned int Strong : 1;
unsigned int Enable : 1;
} B;
} P_TimeBaseSet_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int TMB_Ctrl : 8;
unsigned int TMA_Ctrl : 8;
} B8;
struct
{
unsigned int Reserve : 4;
unsigned int TMB_Clk_S : 3;
unsigned int TMBEN : 1;
unsigned int CountA_ClkA_S : 2;
unsigned int CountA_ClkB_S : 3;
unsigned int TMA_Clk_Src : 1;
unsigned int TMACtrl : 1;
unsigned int TMAEN : 1;
} B;
} P_Tmr_Ctrl_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int SW : 3;
unsigned int Reserve1 : 2;
unsigned int LBDet : 1;
unsigned int Reserve2 : 1;
unsigned int LBDEN : 1;
unsigned int Reserve3 : 8;
} B;
} P_BatDet_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int DTMFR : 2;
unsigned int TON0E : 1;
unsigned int DTMFRE : 1;
unsigned int DTMFC : 2;
unsigned int TON1E : 1;
unsigned int DTMFCE : 1;
unsigned int DACEN : 1;
unsigned int Tone_DACO : 1;
unsigned int Reserve : 6;
} B;
} P_DtmfTone_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int Reserve : 8;
unsigned int ENV : 8;
} B;
} P_Envelope_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int Reserve : 6;
unsigned int Value : 10;
} B;
} P_DAC_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int Gain : 5;
unsigned int Reserve1 : 2;
unsigned int QuickCh : 1;
unsigned int Reserve2 : 8;
} B;
} P_PGACtrl_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int EN_DAC2 : 1;
unsigned int Reserve1 : 1;
unsigned int EN_ADIN3 : 1;
unsigned int EN_ADIN4 : 1;
unsigned int MIC_QCH : 1;
unsigned int EN_MIC : 1;
unsigned int T32KTMA : 1;
unsigned int EN_Line : 1;
unsigned int Reserve2 : 8;
} B;
} P_AFECtrl_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int Source : 1;
unsigned int Reserve1 : 5;
unsigned int Value : 10;
} B;
} P_Adc_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int RDEG : 2;
unsigned int Reserve1 : 4;
unsigned int RingFlag : 1;
unsigned int ENRD : 1;
unsigned int Reserve2 : 8;
} B;
} P_RiDet_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int Reserve1 : 6;
unsigned int EN_WPINT : 1;
unsigned int EN_DET : 1;
unsigned int Reserve2 : 8;
} B;
} P_LineDetCtrl_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int Data : 8;
unsigned int WR : 1;
unsigned int RD : 1;
unsigned int A0P : 1;
unsigned int Start : 1;
unsigned int Reserve1 : 4;
} B;
} P_Lcd501Ctrl_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int MCU : 1;
unsigned int Reserve1 : 15;
} B;
} P_Lcd501BdySel_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int SCLK : 2;
unsigned int P_Check : 1;
unsigned int Parity : 1;
unsigned int Reserve1 : 1;
unsigned int I_Reset : 1;
unsigned int TxIntEn : 1;
unsigned int RxIntEn : 1;
unsigned int Reserve2 : 8;
} B;
} P_UARTCmd1_Def;
typedef union
{
unsigned int W;
struct
{
unsigned int AcRDY : 1;
unsigned int Reserve1 : 2;
unsigned int PE : 1;
unsigned int OE : 1;
unsigned int FE : 1;
unsigned int Tx_RDY_EN : 1;
unsigned int Rx_RDY_EN : 1;
unsigned int Reserve2 : 8;
} B;
} P_UARTCmd2_Def;
# 4 "E:\\xian\\a1600.h" 2
# 1 "E:\\xian\\text1.c" 2
extern void T_SACM_DVR1600_ServiceLoop(void);
extern unsigned int T_SACM_DVR1600_Status(void);
extern unsigned int InilSpeech(unsigned int volume,unsigned int Song_Index);
extern unsigned int FillRamBuf();
unsigned int PlaySpeech(unsigned int Volume,unsigned int SongIndex);
unsigned int data(viod);
unsigned int data(viod)
{
const unsigned int data1,data2,data3,data4;
}
unsigned int PlaySpeech(unsigned int Volume,unsigned int SongIndex)
{
unsigned int StatusData;
InilSpeech(Volume,SongIndex);
StatusData=T_SACM_DVR1600_Status();
while((StatusData&0x03)!=0x00)
{
T_SACM_DVR1600_ServiceLoop();
FillRamBuf();
StatusData=T_SACM_DVR1600_Status();
}
* (volatile unsigned int *)0x7011 = 0xFFFF;
* (volatile unsigned int *)0x701A =0x0000;
* (volatile unsigned int *)0x7010 = * (volatile unsigned int *)0x7010 &(0xFFFF - 0x0004);
}
main()
{
unsigned int uiErr=0,i;
for (i=0;i<35;i++)
{
PlaySpeech(i,1);
}
while(1) ;
}
/* End of uDOC32 problem report. */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -