STM32F0 Standard Peripheral bibliotheek  1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
DMA_InitTypeDef Struct Reference

DMA Init structures definition. More...

#include <stm32f0xx_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 structures 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

uint32_t DMA_DIR
                Specifies if the peripheral is the source or destination.

This parameter can be a value of DMA_data_transfer_direction

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

uint32_t DMA_MemoryBaseAddr

Specifies the memory base address for DMAy Channelx.

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

Specifies the peripheral base address for DMAy Channelx.

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 is 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 Channelx.

This parameter can be a value of DMA_priority_level


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