I am trying to make ADC function , but I face this error: base operand of '->' is not a pointer
How I can solve it
.
.
.
.
ADC->ADC_WPMR &= 0xFFFE ;
ADC->ADC_CHER = 0b11100000 ;
ADC->ADC_MR =0b11111111000000000000011100000000 ;
ADC->ADC_MR |=0b00000000000100100000000000000000 ;
ADC->ADC_IER =0b11100000 ;
ADC->ADC_CR |=0b10 ;
How I can solve it
A good start would be to post the complete program.
blindly try replacing the -> with a .
-jim lee