7.6.4.15 Function dma_start_transfer_job()

Start a DMA transfer.

enum status_code dma_start_transfer_job( struct dma_resource * resource)

This function will start a DMA transfer through an allocated DMA resource.

Table 7-22. Parameters
Data directionParameter nameDescription

[in, out]

resource

Pointer to the DMA resource

Returns

Status of the transfer start procedure.

Table 7-23. Return Values
Return valueDescription

STATUS_OK

The transfer was started successfully

STATUS_BUSY

The DMA resource was busy and the transfer was not started

STATUS_ERR_INVALID_ARG

Transfer size is 0 and transfer was not started