no-OS
|
It's used to setup a generic DMA transfer. More...
#include <no_os_dma.h>
Public Attributes | |
uint8_t * | src |
uint8_t * | dst |
uint32_t | length |
enum no_os_dma_xfer_type | xfer_type |
void(* | xfer_complete_cb )(struct no_os_dma_xfer_desc *, struct no_os_dma_xfer_desc *, void *) |
void * | xfer_complete_ctx |
uint32_t | irq_priority |
enum no_os_irq_peripheral | periph |
void * | extra |
It's used to setup a generic DMA transfer.
uint8_t* no_os_dma_xfer_desc::dst |
Destination address for the data
void* no_os_dma_xfer_desc::extra |
User or platform defined data
uint32_t no_os_dma_xfer_desc::irq_priority |
Transfer complete interrupt priority level
uint32_t no_os_dma_xfer_desc::length |
Transfer length in bytes
enum no_os_irq_peripheral no_os_dma_xfer_desc::periph |
Peripheral which originated the transfer. Will be used to add the callback to the proper event list.
uint8_t* no_os_dma_xfer_desc::src |
Source address for the data
void(* no_os_dma_xfer_desc::xfer_complete_cb) (struct no_os_dma_xfer_desc *, struct no_os_dma_xfer_desc *, void *) |
This function will be called once the transfer completes.
void* no_os_dma_xfer_desc::xfer_complete_ctx |
Parameter for the transfer complete callback. This data should be valid at least until the callback is invoked.
enum no_os_dma_xfer_type no_os_dma_xfer_desc::xfer_type |
Transfer direction