Intel® Quark™ Microcontroller Software Interface  1.4.0
Intel® Quark™ Microcontroller BSP
qm_dma_channel_config_t Struct Reference

DMA channel configuration structure. More...

#include <qm_dma.h>

Data Fields

qm_dma_handshake_interface_t handshake_interface
 DMA channel handshake interface ID.
 
qm_dma_handshake_polarity_t handshake_polarity
 DMA channel handshake polarity.
 
qm_dma_channel_direction_t channel_direction
 DMA channel direction.
 
qm_dma_transfer_width_t source_transfer_width
 DMA source transfer width.
 
qm_dma_transfer_width_t destination_transfer_width
 DMA destination transfer width.
 
qm_dma_burst_length_t source_burst_length
 DMA source burst length.
 
qm_dma_burst_length_t destination_burst_length
 DMA destination burst length.
 
qm_dma_transfer_type_t transfer_type
 DMA transfer type.
 
void(* client_callback )(void *callback_context, uint32_t len, int error_code)
 Client callback for DMA transfer ISR. More...
 
void * callback_context
 DMA client context passed to the callbacks.
 

Detailed Description

DMA channel configuration structure.

Definition at line 77 of file qm_dma.h.

Field Documentation

void(* qm_dma_channel_config_t::client_callback)(void *callback_context, uint32_t len, int error_code)

Client callback for DMA transfer ISR.

Parameters
[in]callback_contextDMA client context.
[in]lenData length transferred.
[in]errorError code.

Definition at line 109 of file qm_dma.h.

Referenced by qm_dma_channel_set_config(), qm_i2c_dma_channel_config(), qm_spi_dma_channel_config(), and qm_uart_dma_channel_config().