How the compiler handles bit-band objects placed outside bit-band regions
ARM Compiler
toolchain v5.02 for µVision Using the Compiler
Home > Compiler Features > How the compiler handles bit-band
objects placed outside bit-band regions
How the compiler handles bit-band
objects placed outside bit-band regions
Bit-band objects must not be placed outside bit-band regions.
If you do inadvertently place a bit-band object outside a bit-band
region, either using the at attribute, or using
an integer pointer to a particular address, the compiler responds
as follows:
If the bitband attribute
is applied to an object type and --bitband is
not specified on the command line, the compiler generates an error.
If the bitband attribute is applied
to an object type and --bitband is specified
on the command line, the compiler generates a warning, and ignores
the request to bit-band.
If the bitband attribute is not applied
to an object type and --bitband is specified
on the command line, the compiler ignores the request to bit-band.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.