Function dma_descriptor_create()

Create a DMA transfer descriptor with configurations.

void dma_descriptor_create(
		DmacDescriptor * descriptor,
		struct dma_descriptor_config * config)

This function will set the transfer configurations to the DMA transfer descriptor.

Table 1. Parameters
Data direction Parameter name Description

[in]

descriptor

Pointer to the DMA transfer descriptor

[in]

config

Pointer to the descriptor configuration structure