Keil Logo

Type Qualifiers

The Cx51 Compiler supports two type qualifiers: const and volatile.

  • The const type qualifier declares an object that is not changed at run-time.
  • The volatile type qualifier declares an object whose value may be changed by something external to the code in which it appears. In an embedded system this would typically be hardware.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.