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

#include <dma.h>

Data Fields

DEVICE device
 The Device entry for this DMA host.
uint32_t dmaid
 Unique Id of this DMA host in the DMA host table.
uint32_t dmastate
 DMA state (eg DMA_STATE_ENABLED).
dma_host_start_proc hoststart
 A Host specific HostStart method implementing the standard DMA host interface (Mandatory).
dma_host_stop_proc hoststop
 A Host specific HostStop method implementing the standard DMA host interface (Mandatory).
dma_host_reset_proc hostreset
 A Host specific HostReset method implementing the standard DMA host interface (Or nil if the default method is suitable).
dma_host_submit_proc hostsubmit
 A Host specific HostSubmit method implementing the standard DMA host interface (Mandatory).
dma_host_cancel_proc hostcancel
 A Host specific HostCancel method implementing the standard DMA host interface (Mandatory).
dma_host_properties_proc hostproperties
 A Host specific HostProperties method implementing the standard DMA host interface (Or nil if the default method is suitable).
MUTEX_HANDLE lock
 Host lock.
uint32_t alignment
 Host data buffer alignment.
uint32_t multiplier
 Host data buffer multiplier.
DMA_PROPERTIES properties
 Host properties.
uint32_t lasterror
 Last error to occur on this host.
uint32_t pendingcount
 Number of DMA requests pending for this host.
THREAD_ID waiterthread
 Thread waiting for pending requests to complete.
uint32_t requestcount
 Number of DMA requests that have been submitted to this host.
uint32_t requesterrors
 Number of DMA requests that have failed on this host.
DMA_HOSTprev
 Previous entry in DMA host table.
DMA_HOSTnext
 Next entry in DMA host table.

Field Documentation

◆ device

DEVICE device

The Device entry for this DMA host.

◆ dmaid

uint32_t dmaid

Unique Id of this DMA host in the DMA host table.

◆ dmastate

uint32_t dmastate

DMA state (eg DMA_STATE_ENABLED).

◆ hoststart

A Host specific HostStart method implementing the standard DMA host interface (Mandatory).

◆ hoststop

A Host specific HostStop method implementing the standard DMA host interface (Mandatory).

◆ hostreset

A Host specific HostReset method implementing the standard DMA host interface (Or nil if the default method is suitable).

◆ hostsubmit

A Host specific HostSubmit method implementing the standard DMA host interface (Mandatory).

◆ hostcancel

A Host specific HostCancel method implementing the standard DMA host interface (Mandatory).

◆ hostproperties

dma_host_properties_proc hostproperties

A Host specific HostProperties method implementing the standard DMA host interface (Or nil if the default method is suitable).

◆ lock

Host lock.

◆ alignment

uint32_t alignment

Host data buffer alignment.

◆ multiplier

uint32_t multiplier

Host data buffer multiplier.

◆ properties

DMA_PROPERTIES properties

Host properties.

◆ lasterror

uint32_t lasterror

Last error to occur on this host.

◆ pendingcount

uint32_t pendingcount

Number of DMA requests pending for this host.

◆ waiterthread

THREAD_ID waiterthread

Thread waiting for pending requests to complete.

◆ requestcount

uint32_t requestcount

Number of DMA requests that have been submitted to this host.

◆ requesterrors

uint32_t requesterrors

Number of DMA requests that have failed on this host.

◆ prev

DMA_HOST* prev

Previous entry in DMA host table.

◆ next

DMA_HOST* next

Next entry in DMA host table.


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