![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#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_HOST * | prev |
| Previous entry in DMA host table. | |
| DMA_HOST * | next |
| Next entry in DMA host table. | |
| 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_HOST* prev |
Previous entry in DMA host table.
| DMA_HOST* next |
Next entry in DMA host table.