Lincoln Bit Banding Example
From Manuals
(Difference between revisions)
(Created page with '==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60], [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== This example applicatio…') |
(→Compatibility Lincoln 60, Lincoln 60E) |
||
| Line 1: | Line 1: | ||
==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60], [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== | ==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60], [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== | ||
| - | This example application demonstrates the use of the bit-banding capabilities of the Cortex-M3 microprocessor. | + | This example application demonstrates the use of the bit-banding capabilities of the Cortex-M3 microprocessor. Some of SRAM and all of the GPIO registers reside within bit-band regions, meaning that bit-banding operations can be applied to any of them. In this example, a location in SRAM is read then bit-banding is used to clear and set bit 3 of the SRAM location. The example then changes the SPI control register at address 0x40020000 using bit banding. |
[[Image:Lincoln_bit_banding.png|center|]] | [[Image:Lincoln_bit_banding.png|center|]] | ||
Revision as of 14:00, 10 April 2012
Compatibility Lincoln 60, Lincoln 60E
This example application demonstrates the use of the bit-banding capabilities of the Cortex-M3 microprocessor. Some of SRAM and all of the GPIO registers reside within bit-band regions, meaning that bit-banding operations can be applied to any of them. In this example, a location in SRAM is read then bit-banding is used to clear and set bit 3 of the SRAM location. The example then changes the SPI control register at address 0x40020000 using bit banding.

