编译报错
, line 1450: error #41: expected an identifier
, line 1450: error #18: expected a ")"
, line 1451: error #41: expected an identifier
, line 1451: error #18: expected a ")"
这个结构 体里的
[mw_shl_code=c,true] uint8 ADC12MCTL[16];
uint16 ADC12MEM[16];[/mw_shl_code]
[mw_shl_code=c,true]typedef struct ADC12_MemMap {
uint8 RESERVED_0[176];
uint8 RESERVED_1[64];
uint8 ADC12MCTL[16];
uint16 ADC12MEM[16];
uint16 ADC12CTL0;
uint16 ADC12CTL1;
uint16 ADC12IFG;
uint16 ADC12IE;
uint16 ADC12IV;
} volatile *ADC12_MemMapPtr;
[/mw_shl_code]
还有这个
Description Resource Path Location Type
#138 expression must be a modifiable lvalue *** line 62 C/C++ Problem
[mw_shl_code=c,true] ADC12_ADC12MCTL(0) = ADC12_ADC12MCTLx_SREFx(sref)+\
ADC12_ADC12MCTLx_INCHx(channel);[/mw_shl_code]
|