STM32F10x Standard Peripherals Library  3.5.0
DMA_InitTypeDef Struct Reference

DMA Init structure definition. More...

#include <stm32f10x_dma.h>

Data Fields

uint32_t DMA_PeripheralBaseAddr
uint32_t DMA_MemoryBaseAddr
uint32_t DMA_DIR
uint32_t DMA_BufferSize
uint32_t DMA_PeripheralInc
uint32_t DMA_MemoryInc
uint32_t DMA_PeripheralDataSize
uint32_t DMA_MemoryDataSize
uint32_t DMA_Mode
uint32_t DMA_Priority
uint32_t DMA_M2M

Detailed Description

DMA Init structure definition.


Field Documentation

uint32_t DMA_BufferSize

Specifies the buffer size, in data unit, of the specified Channel. The data unit is equal to the configuration set in DMA_PeripheralDataSize or DMA_MemoryDataSize members depending in the transfer direction.

Definition at line 59 of file stm32f10x_dma.h.

uint32_t DMA_DIR

Specifies if the peripheral is the source or destination. This parameter can be a value of DMA_data_transfer_direction

Definition at line 56 of file stm32f10x_dma.h.

uint32_t DMA_M2M

Specifies if the DMAy Channelx will be used in memory-to-memory transfer. This parameter can be a value of DMA_memory_to_memory

Definition at line 83 of file stm32f10x_dma.h.

Specifies the memory base address for DMAy Channelx.

Definition at line 54 of file stm32f10x_dma.h.

Specifies the Memory data width. This parameter can be a value of DMA_memory_data_size

Definition at line 72 of file stm32f10x_dma.h.

uint32_t DMA_MemoryInc

Specifies whether the memory address register is incremented or not. This parameter can be a value of DMA_memory_incremented_mode

Definition at line 66 of file stm32f10x_dma.h.

uint32_t DMA_Mode

Specifies the operation mode of the DMAy Channelx. This parameter can be a value of DMA_circular_normal_mode.

Note:
: The circular buffer mode cannot be used if the memory-to-memory data transfer is configured on the selected Channel

Definition at line 75 of file stm32f10x_dma.h.

Specifies the peripheral base address for DMAy Channelx.

Definition at line 52 of file stm32f10x_dma.h.

Specifies the Peripheral data width. This parameter can be a value of DMA_peripheral_data_size

Definition at line 69 of file stm32f10x_dma.h.

Specifies whether the Peripheral address register is incremented or not. This parameter can be a value of DMA_peripheral_incremented_mode

Definition at line 63 of file stm32f10x_dma.h.

uint32_t DMA_Priority

Specifies the software priority for the DMAy Channelx. This parameter can be a value of DMA_priority_level

Definition at line 80 of file stm32f10x_dma.h.


The documentation for this struct was generated from the following file: