AnsweredAssumed Answered

MPC5606B error

Question asked by Khalead Park on Jul 10, 2014
Latest reply on Jul 14, 2014 by iansmusical

Hi.  I have TRK-MPC 5606B board.

I have a problem.

 

Error:

Illigal operands 'volatile union' [ 'unsigned char'

 

Code:

 

void vfnInit_normalconversion_adc(unit8_t u8ChannelType, unit32_t u32Channel)

{

 

ADC_0.CTR0[u8ChannelType].R = 0x00008606;

 

.......

 

}

 

[u8ChannelType] → error

 

Please help me.  Please.....

 

Thank you.

 

Khaled

Outcomes