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.
Data direction | Parameter name | Description |
---|---|---|
[in, out] |
resource |
Pointer to the DMA resource |
Returns
Status of the transfer start procedure.
Return value | Description |
---|---|
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 |