Intel® Quark™ Microcontroller Software Interface 1.4.0 Intel® Quark™ Microcontroller BSP

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
qm_dma_channel_config_t Struct Reference
DMA

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_context | DMA client context.
  [in] | len | Data length transferred.
  [in] | error | Error 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().