# include/dma.h File Reference

Direct Memory Access (DMA) support. More...

`#include <types.h>`
`#include <util.h>`
`#include <cpu/dma.h>`

Include dependency graph for dma.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Enumerations
enum | dma_direction { DMA_FROM_DEVICE = 0, DMA_TO_DEVICE = 1, DMA_BIDIRECTIONAL = 2 }
| The direction of a DMA transfer. More...

## Detailed Description

Direct Memory Access (DMA) support.

This file defines helper functions for preparing memory buffers for DMA transfers.

- Compiler: IAR EWAVR32 and GNU GCC for AVR32
- Supported devices: All devices
- AppNote:

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file dma.h.

## Enumeration Type Documentation

enum dma_direction

The direction of a DMA transfer.

Enumerator:

  DMA_FROM_DEVICE | From memory to peripheral.
  DMA_TO_DEVICE | From peripheral to memory.
  DMA_BIDIRECTIONAL | Both of the above.

Definition at line 53 of file dma.h.