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