RTEMS: DMA Driver Structs

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations
DMA Driver Structs
Board Support Packages » ARM » Atmel/Microchip SAM E70, S70, V70 and V71 » Contributed Code

## Data Structures
struct | _XdmadChannel
struct | _Xdmad
struct | _XdmadCfg
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 enum _XdmadStatus | eXdmadStatus
typedef enum _XdmadStatus | eXdmadRC
typedef enum _XdmadState | eXdmadState
typedef enum _XdmadProgState | eXdmadProgState
typedef void(* | XdmadTransferCallback) (uint32_t Channel, void *pArg, uint32_t status)
typedef struct _XdmadChannel | sXdmadChannel
typedef struct _Xdmad | sXdmad
typedef struct _XdmadCfg | sXdmadCfg
typedef struct _LinkedListDescriporView0 | LinkedListDescriporView0
| Structure for storing parameters for DMA view0 that can be performed by the DMA Master transfer.
typedef struct _LinkedListDescriporView1 | LinkedListDescriporView1
| Structure for storing parameters for DMA view1 that can be performed by the DMA Master transfer.
typedef struct _LinkedListDescriporView2 | LinkedListDescriporView2
| Structure for storing parameters for DMA view2 that can be performed by the DMA Master transfer.
typedef struct _LinkedListDescriporView3 | LinkedListDescriporView3
| Structure for storing parameters for DMA view3 that can be performed by the DMA Master transfer.

## Enumerations
enum | _XdmadStatus { XDMAD_OK = 0 , XDMAD_PARTIAL_DONE , XDMAD_DONE , XDMAD_BUSY , XDMAD_ERROR , XDMAD_CANCELED }
enum | _XdmadState { XDMAD_STATE_FREE = 0 , XDMAD_STATE_ALLOCATED , XDMAD_STATE_START , XDMAD_STATE_IN_XFR , XDMAD_STATE_DONE , XDMAD_STATE_HALTED }
enum | _XdmadProgState { XDMAD_SINGLE = 0 , XDMAD_MULTI , XDMAD_LLI }

## Detailed Description

## Typedef Documentation

## ◆ eXdmadProgState

typedef enum _XdmadProgState eXdmadProgState

DMA Programming state for channel

## ◆ eXdmadState

typedef enum _XdmadState eXdmadState

DMA state for channel

## ◆ eXdmadStatus

typedef enum _XdmadStatus eXdmadStatus

DMA status or return code

## ◆ sXdmad

typedef struct _Xdmad sXdmad

DMA driver instance

## ◆ sXdmadChannel

typedef struct _XdmadChannel sXdmadChannel

DMA driver channel

## ◆ XdmadTransferCallback

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

DMA transfer callback

## Enumeration Type Documentation

## ◆ _XdmadProgState

enum _XdmadProgState

DMA Programming state for channel

## ◆ _XdmadState

enum _XdmadState

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

## ◆ _XdmadStatus

enum _XdmadStatus

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