AnsweredAssumed Answered

Is EBIU_AMGCTL declared as volatile for optimization purposes?

Question asked by MattZ on Jun 20, 2017
Latest reply on Jun 20, 2017 by MattZ

Hi all, 


Is pEBIU_AMGCTL declared as volatile? I'm writing multiple values to the same register as part of a configuration. I understand from "The Optimizer Broke My Code" found in FAQ: Why does my code stop working when I enable optimization that unless declared as volatile, the optimizer may remove repeated writes to the same register. I'd like to use the optimizer in my code. Do I need to worry about this?


Thanks in advance