7.6.2.3 Struct dma_resource

Structure for DMA transfer resource.

Table 7-3. Members
TypeNameDescription
dma_callback_t callback[]

Array of callback functions for DMA transfer job.

uint8_tcallback_enable

Bit mask for enabled callbacks.

uint8_tchannel_id

Allocated DMA channel ID.

DmacDescriptor *descriptor

DMA transfer descriptor.

enum status_codejob_status

Status of the last job.

uint32_ttransfered_size

Transferred data size.