我是用的ads1.2的编译器,定义结构体变量如下:
typedef struct
{
...
}SPC3;
volatile struct SPC3 *ptspc3 = (struct SPC3*)0X83000000;
但是编译后却提示如下:
Error : (Serious) C2363E: member 'int_req' not found in 'struct SPC3'
DP.c line 221
Error : (Serious) C2363E: member 'is_reg' not found in 'struct SPC3'
DP.c line 228
Error : (Serious) C2363E: member 'r_user_wd_value' not found in 'struct SPC3'
DP.c line 240
Error : (Serious) C2363E: member 'r_ident_high' not found in 'struct SPC3'
DP.c line 258
Error : (Serious) C2363E: member 'r_ident_low' not found in 'struct SPC3'
DP.c line 259
Error : (Serious) C2363E: member 'r_ts_adr' not found in 'struct SPC3'
DP.c line 260
。
。
。
Error : (Fatal) C3047U: Too many errors
DP.c line 430
请各位帮我看看是什么错误。。谢谢!整了好多天了,就是不行。。。哭死