Prusa MINI Firmware overview
DMA_InitTypeDef Struct Reference

DMA Configuration Structure definition. More...

#include <stm32f4xx_hal_dma.h>

Collaboration diagram for DMA_InitTypeDef:

Public Attributes

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.

Member Data 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

◆ 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

◆ 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

◆ 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

◆ PeriphDataAlignment

uint32_t DMA_InitTypeDef::PeriphDataAlignment

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

◆ MemDataAlignment

uint32_t DMA_InitTypeDef::MemDataAlignment

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

◆ 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

◆ Priority

uint32_t DMA_InitTypeDef::Priority

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

◆ 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

◆ FIFOThreshold

uint32_t DMA_InitTypeDef::FIFOThreshold

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

◆ 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.

◆ 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.