drivers/dmac/pdca.c File Reference

PDCA DMA Controller Driver. More...

#include <assert.h>
#include <bitops.h>
#include <buffer.h>
#include <interrupt.h>
#include <io.h>
#include <irq_handler.h>
#include <status-codes.h>
#include <string.h>
#include <chip/memory-map.h>
#include <chip/irq-map.h>
#include <dmac/dma_controller.h>
#include <dmac/pdca.h>
#include "dmac_util.h"
#include "pdca_regs.h"

Include dependency graph for pdca.c:

Go to the source code of this file.

Enumerations

enum  pdca_chan_flag { PDCA_CHAN_ALLOCATED, PDCA_CHAN_ENABLED }
 PDCA channel state flags. More...

Functions

static struct pdca_channel * pdca_channel_of (struct dmac_channel *ch)
 Convert a generic dmac_channel struct to a private pdca_channel struct.


Detailed Description

PDCA DMA Controller Driver.

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

Definition in file pdca.c.


Enumeration Type Documentation

PDCA channel state flags.

Enumerator:
PDCA_CHAN_ALLOCATED  In use by a client.
PDCA_CHAN_ENABLED  Ready to accept transfers.

Definition at line 69 of file pdca.c.


Function Documentation

static struct pdca_channel* pdca_channel_of ( struct dmac_channel ch  )  [static, read]

Convert a generic dmac_channel struct to a private pdca_channel struct.

For internal use only.

Definition at line 92 of file pdca.c.

References container_of.


Generated on Tue Sep 15 10:19:27 2009 for libavr32 by  doxygen 1.5.8