-volatile


External variables and the variables specified with "#pragma address" are handled as if they were volatile-declared.

[Specification format]

-volatile

 

-

Interpretation when omitted

Only the volatile-qualified variables are handled as if they were volatile-declared.

[Detailed description]

-

All external variables and the variables specified with #pragma address are handled as if they were volatile-declared.
The number of times and order in which external variables and variables specified with #pragma address are accessed are kept unchanged from those written in the C source file.

[Example of use]

-

To handle all external variables and the variables specified with #pragma address as if they were volatile-declared, describe as:

>ccrl -volatile -cpu=S2 -dev=dr5f100pj.dvf main.c