Utility Functions and C Language Reference > C Language Reference > Alphabetical List of Functions > volatile


Used with a const declaration to allow external routines to modify the variable (such as hardware devices). It also forces the compiler to retrieve the value of the variable each time it is referenced rather than trying to optimize it in a register.

Note: VuGen ignores the volatile keyword