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) |
||
| (One intermediate revision not shown) | |||
| 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. The first UART, which is connected to the COM1 on the Lincoln microcontroller board, is configured for 115,200 bits per second, and 8-n-1 mode. When the program is started a message will be printed to the terminal. |
[[Image:Lincoln_bit_banding.png|center|]] | [[Image:Lincoln_bit_banding.png|center|]] | ||
Current revision as of 14:18, 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. The first UART, which is connected to the COM1 on the Lincoln microcontroller board, is configured for 115,200 bits per second, and 8-n-1 mode. When the program is started a message will be printed to the terminal.

