STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
DMA_InitTypeDef Struct Reference

DMA Configuration Structure definition. More...

#include <stm32f4xx_hal_dma.h>

Collaboration diagram for DMA_InitTypeDef:

Data Fields

uint32_t Channel
 
uint32_t Direction
 
uint32_t PeriphInc
 
uint32_t MemInc
 
uint32_t PeriphDataAlignment
 
uint32_t MemDataAlignment
 
uint32_t Mode
 
uint32_t Priority
 
uint32_t FIFOMode
 
uint32_t FIFOThreshold
 
uint32_t MemBurst
 
uint32_t PeriphBurst
 

Detailed Description

DMA Configuration Structure definition.

Definition at line 48 of file stm32f4xx_hal_dma.h.

Field Documentation

◆ Channel

uint32_t DMA_InitTypeDef::Channel

Specifies the channel used for the specified stream. This parameter can be a value of DMA Channel selection

Definition at line 50 of file stm32f4xx_hal_dma.h.

Referenced by HAL_DMA_Init().

◆ Direction

uint32_t DMA_InitTypeDef::Direction

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

Definition at line 53 of file stm32f4xx_hal_dma.h.

Referenced by DMA_MultiBufferSetConfig(), DMA_SetConfig(), HAL_DMA_Init(), HAL_DMAEx_MultiBufferStart(), HAL_DMAEx_MultiBufferStart_IT(), HAL_MMC_ReadBlocks_DMA(), HAL_MMC_WriteBlocks_DMA(), HAL_SD_ReadBlocks_DMA(), and HAL_SD_WriteBlocks_DMA().

◆ PeriphInc

uint32_t DMA_InitTypeDef::PeriphInc

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

Definition at line 57 of file stm32f4xx_hal_dma.h.

Referenced by HAL_DMA_Init().

◆ MemInc

uint32_t DMA_InitTypeDef::MemInc

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

Definition at line 60 of file stm32f4xx_hal_dma.h.

Referenced by HAL_DMA_Init().

◆ PeriphDataAlignment

uint32_t DMA_InitTypeDef::PeriphDataAlignment

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

Definition at line 63 of file stm32f4xx_hal_dma.h.

Referenced by HAL_DMA_Init().

◆ MemDataAlignment

uint32_t DMA_InitTypeDef::MemDataAlignment

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

Definition at line 66 of file stm32f4xx_hal_dma.h.

Referenced by DMA_CheckFifoParam(), and HAL_DMA_Init().

◆ Mode

uint32_t DMA_InitTypeDef::Mode

Specifies the operation mode of the DMAy Streamx. This parameter can be a value of DMA mode

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

Definition at line 69 of file stm32f4xx_hal_dma.h.

Referenced by HAL_DMA_Init(), HAL_UART_IRQHandler(), I2S_DMARxCplt(), I2S_DMATxCplt(), SAI_DMARxCplt(), SAI_DMATxCplt(), TIM_DMACaptureCplt(), TIM_DMADelayPulseCplt(), TIM_DMADelayPulseNCplt(), TIM_DMAPeriodElapsedCplt(), and TIM_DMATriggerCplt().

◆ Priority

uint32_t DMA_InitTypeDef::Priority

Specifies the software priority for the DMAy Streamx. This parameter can be a value of DMA Priority level

Definition at line 74 of file stm32f4xx_hal_dma.h.

Referenced by HAL_DMA_Init().

◆ FIFOMode

uint32_t DMA_InitTypeDef::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

Definition at line 77 of file stm32f4xx_hal_dma.h.

Referenced by HAL_DMA_Init().

◆ FIFOThreshold

uint32_t DMA_InitTypeDef::FIFOThreshold

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

Definition at line 82 of file stm32f4xx_hal_dma.h.

Referenced by DMA_CheckFifoParam(), and HAL_DMA_Init().

◆ MemBurst

uint32_t DMA_InitTypeDef::MemBurst

Specifies the Burst transfer configuration for the memory transfers. It specifies the amount of data to be transferred in a single non interruptible 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.

Definition at line 85 of file stm32f4xx_hal_dma.h.

Referenced by DMA_CheckFifoParam(), and HAL_DMA_Init().

◆ PeriphBurst

uint32_t DMA_InitTypeDef::PeriphBurst

Specifies the Burst transfer configuration for the peripheral transfers. It specifies the amount of data to be transferred in a single non interruptible 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.

Definition at line 91 of file stm32f4xx_hal_dma.h.

Referenced by HAL_DMA_Init().


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