Back to DRIVERS page

AVR UC3 Series Software Framework: MDMA Driver

Copyright © 2007 Atmel Corporation

Introduction

The purpose of the MDMA is to perform memory-to-memory transfers. For peripheral-to-mem- ory transfers, the Peripheral DMA Controller should be used instead. The MDMA has two HSB master interfaces. One interface is dedicated to reading data while the other is dedicated to writing. The MDMA is configured through a Peripheral Bus (PB) interface.

A DMA transfer on a channel can be started manually by writing the MDMA configuration reg- isters for that channel. This transfer mode is referred to as Single Transfer Mode. MDMA channels can also be controlled by a descriptor list in memory. The descriptor list con- tains all information needed to control a transfer. Once a transfer has been completed, the MDMA automatically reads the next descriptor, and if this descriptor is valid, starts the next DMA transfer. This transfer mode is referred to Descriptor Mode.

 

MDMA Driver

The driver is composed of mdma.c and mdma.h.

 

An example is available: How to use the MDMA.

 


AVR is a registered trademark of Atmel Corporation.