DMA_RESOURCE structure (cfgmgr32.h)

The DMA_RESOURCE structure is used for specifying either a resource list or a resource requirements list that describes DMA channel usage for a device instance. For more information about resource list and resource requirements lists, see Hardware Resources.

Syntax

typedef struct DMA_Resource_s {
  DMA_DES   DMA_Header;
  DMA_RANGE DMA_Data[ANYSIZE_ARRAY];
} DMA_RESOURCE, *PDMA_RESOURCE;

Members

DMA_Header

A DMA_DES structure.

DMA_Data[ANYSIZE_ARRAY]

For a resource list:

Zero.

For a resource requirements list:

A DMA_RANGE array.

Requirements

Requirement Value
Header cfgmgr32.h (include Cfgmgr32.h)

See also

DMA_DES

DMA_RANGE