Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Bit Banding Example

Purpose

The cm4-bitbanding example will help new users get familiar with bitbanding feature of SAM4 microcontrollers.

Bit-banding is a useful feature of Cortex M4 processor. The processor memory map includes two bit-band regions, which occupy the lowest 1MB of the SRAM and Peripheral memory regions. These bit-band regions map each word in an alias region of memory to a bit in a bit-band region of memory.

The example will execute the following tests:

  • Test REGISTER bit-banding accessing with LED0 (BitbandingPeripheralTest())

Requirements

This package can be used with SAM4 evaluation kits.

Description

The cm4-bitbanding example will help new users get familiar with bitbanding feature of SAM4 microcontrollers.

Usage

  1. Build the program and download it into the evaluation board.