29.10.2014 Views

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Compiler</strong> Features<br />

4.15 <strong>Compiler</strong> and processor support <strong>for</strong> bit-banding<br />

Bit-banding is supported by <strong>the</strong> compiler in <strong>the</strong> following ways:<br />

• __attribute((bitband)) language extension<br />

• --bitband command-line option.<br />

Bit-banding is a feature of <strong>the</strong> Cortex-M3 and Cortex-M4 processors (--cpu=Cortex-M3 and<br />

--cpu=Cortex-M4) and some derivatives (<strong>for</strong> example, --cpu=Cortex-M3-rev0). This functionality<br />

is not available on o<strong>the</strong>r <strong>ARM</strong> processors.<br />

4.15.1 See also<br />

Concepts<br />

• <strong>Compiler</strong> type attribute, __attribute__((bitband)) on page 4-22<br />

• --bitband compiler command-line option on page 4-24<br />

• How <strong>the</strong> compiler handles bit-band objects placed outside bit-band regions on page 4-26.<br />

Reference<br />

<strong>Compiler</strong> Reference:<br />

• __attribute__((bitband)) type attribute on page 5-36<br />

• --bitband on page 3-15.<br />

O<strong>the</strong>r in<strong>for</strong>mation<br />

• Technical Reference Manual <strong>for</strong> your processor.<br />

<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. 4-21<br />

ID061811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!