Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_DMA_REQUEST Struct Reference

#include <dma.h>

Data Fields

DMA_HOSThost
DMA_DATAdata
 List of data blocks for this request.
uint32_t flags
 Flags for the request (eg DMA_REQUEST_FLAG_RELEASE).
uint32_t direction
 The direction of the DMA request (eg DMA_DIR_MEM_TO_MEM).
uint32_t peripheral
 The peripheral ID for data request gating (eg DMA_DREQ_ID_NONE).
dma_request_completed_cb callback
 Callback function that will be called when this DMA request has been successfully completed or has failed.
void * driverdata
 Private data for the completion callback (Optional).
uint32_t status
 Status of the request (ERROR_SUCCESS if successful, or another error code if the request failed).
void * controlblocks

Field Documentation

◆ host

DMA_HOST* host

◆ data

DMA_DATA* data

List of data blocks for this request.

◆ flags

uint32_t flags

Flags for the request (eg DMA_REQUEST_FLAG_RELEASE).

◆ direction

uint32_t direction

The direction of the DMA request (eg DMA_DIR_MEM_TO_MEM).

◆ peripheral

uint32_t peripheral

The peripheral ID for data request gating (eg DMA_DREQ_ID_NONE).

◆ callback

Callback function that will be called when this DMA request has been successfully completed or has failed.

◆ driverdata

void* driverdata

Private data for the completion callback (Optional).

◆ status

uint32_t status

Status of the request (ERROR_SUCCESS if successful, or another error code if the request failed).

◆ controlblocks

void* controlblocks

The documentation for this struct was generated from the following file: