SAMV71 Xplained Ultra Software Package 1.5

DMA Driver Structs
[XDMA Drivers]

Collaboration diagram for DMA Driver Structs:

Data Structures

struct  sXdmadChannel
struct  sXdmad
struct  sXdmadCfg
struct  LinkedListDescriporView0
 Structure for storing parameters for DMA view0 that can be performed by the DMA Master transfer. More...
struct  LinkedListDescriporView1
 Structure for storing parameters for DMA view1 that can be performed by the DMA Master transfer. More...
struct  LinkedListDescriporView2
 Structure for storing parameters for DMA view2 that can be performed by the DMA Master transfer. More...
struct  LinkedListDescriporView3
 Structure for storing parameters for DMA view3 that can be performed by the DMA Master transfer. More...

Typedefs

typedef void(* XdmadTransferCallback )(uint32_t Channel, void *pArg)

Enumerations

enum  eXdmadRC {
  XDMAD_OK = 0, XDMAD_PARTIAL_DONE, XDMAD_DONE, XDMAD_BUSY,
  XDMAD_ERROR, XDMAD_CANCELED
}
enum  eXdmadState {
  XDMAD_STATE_FREE = 0, XDMAD_STATE_ALLOCATED, XDMAD_STATE_START, XDMAD_STATE_IN_XFR,
  XDMAD_STATE_DONE, XDMAD_STATE_HALTED
}
enum  eXdmadProgState { XDMAD_SINGLE = 0, XDMAD_MULTI, XDMAD_LLI }

Typedef Documentation

typedef void(* XdmadTransferCallback)(uint32_t Channel, void *pArg)

DMA transfer callback

Definition at line 110 of file xdmad.h.


Enumeration Type Documentation

DMA Programming state for channel

Definition at line 103 of file xdmad.h.

enum eXdmadRC

DMA status or return code

Enumerator:
XDMAD_OK 

Operation is successful

XDMAD_BUSY 

Channel occupied or transfer not finished

XDMAD_ERROR 

Operation failed

XDMAD_CANCELED 

Operation cancelled

Definition at line 83 of file xdmad.h.

DMA state for channel

Enumerator:
XDMAD_STATE_FREE 

Free channel

XDMAD_STATE_ALLOCATED 

Allocated to some peripheral

XDMAD_STATE_START 

DMA started

XDMAD_STATE_IN_XFR 

DMA in transferring

XDMAD_STATE_DONE 

DMA transfer done

XDMAD_STATE_HALTED 

DMA transfer stopped

Definition at line 93 of file xdmad.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines