AnsweredAssumed Answered

Why am I getting a compiler error using volatile

Question asked by Gerry Kurz on Jan 21, 2015
Latest reply on Jan 21, 2015 by Gerry Kurz

Here is the line of code that is generating the error

 

uint32_t volatile * const Port_C_Clear_Output_Register = (uint32_t *) 0x400FF088;

 

and here is the error message

 

expected '=', ',', ';', 'asm' or '__attribute__' before 'volatile'

Outcomes