4.16 Compiler and processor support for bit-banding

The compiler supports bit-banding for processors that provide the feature.

The compiler supports bit-banding in the following ways:

  • __attribute((bitband)) language extension.

  • --bitband command-line option.

Bit-banding is a feature of the Cortex-M3 and Cortex-M4 processors (--cpu=Cortex-M3 and --cpu=Cortex-M4) and some derivatives (for example, --cpu=Cortex-M3-rev0). This functionality is not available on other ARM processors.

Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.