STM32F2 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F2 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
DMA_InitTypeDef Struct Reference

DMA Init structure definition. More...

#include <stm32f2xx_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.

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.

uint32_t DMA_Channel
            Specifies the channel used for the specified stream. 

This parameter can be a value of DMA_channel

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

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
uint32_t DMA_FIFOThreshold
      Specifies the FIFO threshold level.

This parameter can be a value of DMA_fifo_threshold_level

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.

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.
uint32_t DMA_MemoryDataSize
     Specifies the Memory data width.

This parameter can be a value of DMA_memory_data_size

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

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
uint32_t DMA_PeripheralBaseAddr

Specifies the peripheral base address for DMAy Streamx.

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.
uint32_t DMA_PeripheralDataSize
 Specifies the Peripheral data width.

This parameter can be a value of DMA_peripheral_data_size

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

uint32_t DMA_Priority
           Specifies the software priority for the DMAy Streamx.

This parameter can be a value of DMA_priority_level


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