You copied the Doc URL to your clipboard.

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.

Was this page helpful? Yes No