CARME-M4 BSP  V1.5
DMA_InitTypeDef Struct Reference

DMA Init structure definition. More...

#include <stm32f4xx_dma.h>

Data Fields

uint32_t DMA_Channel
 
uint32_t DMA_PeripheralBaseAddr
 
uint32_t DMA_Memory0BaseAddr
 
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_FIFOMode
 
uint32_t DMA_FIFOThreshold
 
uint32_t DMA_MemoryBurst
 
uint32_t DMA_PeripheralBurst
 

Detailed Description

DMA Init structure definition.

Examples:
dma.c.

Definition at line 54 of file stm32f4xx_dma.h.

Field Documentation

uint32_t DMA_BufferSize

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

Examples:
dma.c.

Definition at line 69 of file stm32f4xx_dma.h.

uint32_t DMA_Channel

Specifies the channel used for the specified stream. This parameter can be a value of DMA_channel

Examples:
dma.c.

Definition at line 56 of file stm32f4xx_dma.h.

uint32_t DMA_DIR

Specifies if the data will be transferred from memory to peripheral, from memory to memory or from peripheral to memory. This parameter can be a value of DMA_data_transfer_direction

Examples:
dma.c.

Definition at line 65 of file stm32f4xx_dma.h.

uint32_t DMA_FIFOMode

Specifies if the FIFO mode or Direct mode will be used for the specified Stream. This parameter can be a value of DMA_fifo_direct_mode

Note
The Direct mode (FIFO mode disabled) cannot be used if the memory-to-memory data transfer is configured on the selected Stream
Examples:
dma.c.

Definition at line 93 of file stm32f4xx_dma.h.

uint32_t DMA_FIFOThreshold

Specifies the FIFO threshold level. This parameter can be a value of DMA_fifo_threshold_level

Examples:
dma.c.

Definition at line 98 of file stm32f4xx_dma.h.

uint32_t DMA_Memory0BaseAddr

Specifies the memory 0 base address for DMAy Streamx. This memory is the default memory used when double buffer mode is not enabled.

Examples:
dma.c.

Definition at line 61 of file stm32f4xx_dma.h.

uint32_t DMA_MemoryBurst

Specifies the Burst transfer configuration for the memory transfers. It specifies the amount of data to be transferred in a single non interruptable transaction. This parameter can be a value of DMA_memory_burst

Note
The burst mode is possible only if the address Increment mode is enabled.
Examples:
dma.c.

Definition at line 101 of file stm32f4xx_dma.h.

uint32_t DMA_MemoryDataSize

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

Examples:
dma.c.

Definition at line 82 of file stm32f4xx_dma.h.

uint32_t DMA_MemoryInc

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

Examples:
dma.c.

Definition at line 76 of file stm32f4xx_dma.h.

uint32_t DMA_Mode

Specifies the operation mode of the DMAy Streamx. 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 Stream
Examples:
dma.c.

Definition at line 85 of file stm32f4xx_dma.h.

uint32_t DMA_PeripheralBaseAddr

Specifies the peripheral base address for DMAy Streamx.

Examples:
dma.c.

Definition at line 59 of file stm32f4xx_dma.h.

uint32_t DMA_PeripheralBurst

Specifies the Burst transfer configuration for the peripheral transfers. It specifies the amount of data to be transferred in a single non interruptable transaction. This parameter can be a value of DMA_peripheral_burst

Note
The burst mode is possible only if the address Increment mode is enabled.
Examples:
dma.c.

Definition at line 106 of file stm32f4xx_dma.h.

uint32_t DMA_PeripheralDataSize

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

Examples:
dma.c.

Definition at line 79 of file stm32f4xx_dma.h.

uint32_t DMA_PeripheralInc

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

Examples:
dma.c.

Definition at line 73 of file stm32f4xx_dma.h.

uint32_t DMA_Priority

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

Examples:
dma.c.

Definition at line 90 of file stm32f4xx_dma.h.


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