no-OS
|
#include <no_os_dma.h>
Public Attributes | |
int(* | dma_init )(struct no_os_dma_desc **, struct no_os_dma_init_param *) |
int(* | dma_remove )(struct no_os_dma_desc *desc) |
int(* | dma_acquire_ch )(struct no_os_dma_desc *, uint32_t *) |
int(* | dma_release_ch )(struct no_os_dma_desc *, uint32_t) |
int(* | dma_config_xfer )(struct no_os_dma_ch *, struct no_os_dma_xfer_desc *) |
int(* | dma_xfer_start )(struct no_os_dma_desc *, struct no_os_dma_ch *) |
int(* | dma_xfer_abort )(struct no_os_dma_desc *, struct no_os_dma_ch *) |
bool(* | dma_ch_is_completed )(struct no_os_dma_desc *, struct no_os_dma_ch *) |
bool(* | dma_ch_in_progress )(struct no_os_dma_desc *, struct no_os_dma_ch *) |
int(* no_os_dma_platform_ops::dma_acquire_ch) (struct no_os_dma_desc *, uint32_t *) |
Get a free channel and set it as busy.
bool(* no_os_dma_platform_ops::dma_ch_in_progress) (struct no_os_dma_desc *, struct no_os_dma_ch *) |
Whether or not a specific channel has an ongoing transfer. This returns true between transfers.
bool(* no_os_dma_platform_ops::dma_ch_is_completed) (struct no_os_dma_desc *, struct no_os_dma_ch *) |
Whether or not a specific channel has an ongoing or future transfer configured
int(* no_os_dma_platform_ops::dma_config_xfer) (struct no_os_dma_ch *, struct no_os_dma_xfer_desc *) |
Configure platform specific settings required for the current DMA transfer
int(* no_os_dma_platform_ops::dma_init) (struct no_os_dma_desc **, struct no_os_dma_init_param *) |
Initialize platform specific resources for the DMA controller.
int(* no_os_dma_platform_ops::dma_release_ch) (struct no_os_dma_desc *, uint32_t) |
int(* no_os_dma_platform_ops::dma_remove) (struct no_os_dma_desc *desc) |
Remove resources allocated for the DMA controller.
int(* no_os_dma_platform_ops::dma_xfer_abort) (struct no_os_dma_desc *, struct no_os_dma_ch *) |
Signal the DMA controller to stop the transfer.
int(* no_os_dma_platform_ops::dma_xfer_start) (struct no_os_dma_desc *, struct no_os_dma_ch *) |
Signal the DMA controller to start the transfer.