G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
DDL_DMA_InitTypeDef Struct Reference

#include <g32r4xx_ddl_dma.h>

Data Fields

uint32_t PeriphOrM2MSrcAddress
uint32_t MemoryOrM2MDstAddress
uint32_t Direction
uint32_t Mode
uint32_t PeriphOrM2MSrcIncMode
uint32_t MemoryOrM2MDstIncMode
uint32_t PeriphOrM2MSrcDataSize
uint32_t MemoryOrM2MDstDataSize
uint32_t NbData
uint32_t Channel
uint32_t Priority
uint32_t FIFOMode
uint32_t FIFOThreshold
uint32_t MemBurst
uint32_t PeriphBurst

Detailed Description

Definition at line 93 of file g32r4xx_ddl_dma.h.

Field Documentation

◆ Channel

uint32_t DDL_DMA_InitTypeDef::Channel

Specifies the peripheral channel. This parameter can be a value of CHANNEL

This feature can be modified afterwards using unitary function DDL_DMA_SetChannelSelection().

Definition at line 149 of file g32r4xx_ddl_dma.h.

◆ Direction

uint32_t DDL_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 DIRECTION

This feature can be modified afterwards using unitary function DDL_DMA_SetDataTransferDirection().

Definition at line 105 of file g32r4xx_ddl_dma.h.

◆ FIFOMode

uint32_t DDL_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_DDL_FIFOMODE

Note
The Direct mode (FIFO mode disabled) cannot be used if the memory-to-memory data transfer is configured on the selected stream

This feature can be modified afterwards using unitary functions DDL_DMA_EnableFifoMode() or DDL_DMA_EnableFifoMode() .

Definition at line 159 of file g32r4xx_ddl_dma.h.

◆ FIFOThreshold

uint32_t DDL_DMA_InitTypeDef::FIFOThreshold

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

This feature can be modified afterwards using unitary function DDL_DMA_SetFIFOThreshold().

Definition at line 166 of file g32r4xx_ddl_dma.h.

◆ MemBurst

uint32_t DDL_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 MBURST

Note
The burst mode is possible only if the address Increment mode is enabled.

This feature can be modified afterwards using unitary function DDL_DMA_SetMemoryBurstxfer().

Definition at line 171 of file g32r4xx_ddl_dma.h.

◆ MemoryOrM2MDstAddress

uint32_t DDL_DMA_InitTypeDef::MemoryOrM2MDstAddress

Specifies the memory base address for DMA transfer or as Destination base address in case of memory to memory transfer direction.

This parameter must be a value between Min_Data = 0 and Max_Data = 0xFFFFFFFF.

Definition at line 100 of file g32r4xx_ddl_dma.h.

◆ MemoryOrM2MDstDataSize

uint32_t DDL_DMA_InitTypeDef::MemoryOrM2MDstDataSize

Specifies the Memory data size alignment or Destination data size alignment (byte, half word, word) in case of memory to memory transfer direction. This parameter can be a value of MDATAALIGN

This feature can be modified afterwards using unitary function DDL_DMA_SetMemorySize().

Definition at line 136 of file g32r4xx_ddl_dma.h.

◆ MemoryOrM2MDstIncMode

uint32_t DDL_DMA_InitTypeDef::MemoryOrM2MDstIncMode

Specifies whether the Memory address or Destination address in case of memory to memory transfer direction is incremented or not. This parameter can be a value of MEMORY

This feature can be modified afterwards using unitary function DDL_DMA_SetMemoryIncMode().

Definition at line 124 of file g32r4xx_ddl_dma.h.

◆ Mode

uint32_t DDL_DMA_InitTypeDef::Mode

Specifies the normal or circular operation mode. This parameter can be a value of MODE

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

This feature can be modified afterwards using unitary function DDL_DMA_SetMode().

Definition at line 111 of file g32r4xx_ddl_dma.h.

◆ NbData

uint32_t DDL_DMA_InitTypeDef::NbData

Specifies the number of data to transfer, in data unit. The data unit is equal to the source buffer configuration set in PeripheralSize or MemorySize parameters depending in the transfer direction. This parameter must be a value between Min_Data = 0 and Max_Data = 0x0000FFFF

This feature can be modified afterwards using unitary function DDL_DMA_SetDataLength().

Definition at line 142 of file g32r4xx_ddl_dma.h.

◆ PeriphBurst

uint32_t DDL_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 PBURST

Note
The burst mode is possible only if the address Increment mode is enabled.

This feature can be modified afterwards using unitary function DDL_DMA_SetPeriphBurstxfer().

Definition at line 179 of file g32r4xx_ddl_dma.h.

◆ PeriphOrM2MSrcAddress

uint32_t DDL_DMA_InitTypeDef::PeriphOrM2MSrcAddress

Specifies the peripheral base address for DMA transfer or as Source base address in case of memory to memory transfer direction.

This parameter must be a value between Min_Data = 0 and Max_Data = 0xFFFFFFFF.

Definition at line 95 of file g32r4xx_ddl_dma.h.

◆ PeriphOrM2MSrcDataSize

uint32_t DDL_DMA_InitTypeDef::PeriphOrM2MSrcDataSize

Specifies the Peripheral data size alignment or Source data size alignment (byte, half word, word) in case of memory to memory transfer direction. This parameter can be a value of PDATAALIGN

This feature can be modified afterwards using unitary function DDL_DMA_SetPeriphSize().

Definition at line 130 of file g32r4xx_ddl_dma.h.

◆ PeriphOrM2MSrcIncMode

uint32_t DDL_DMA_InitTypeDef::PeriphOrM2MSrcIncMode

Specifies whether the Peripheral address or Source address in case of memory to memory transfer direction is incremented or not. This parameter can be a value of PERIPH

This feature can be modified afterwards using unitary function DDL_DMA_SetPeriphIncMode().

Definition at line 118 of file g32r4xx_ddl_dma.h.

◆ Priority

uint32_t DDL_DMA_InitTypeDef::Priority

Specifies the channel priority level. This parameter can be a value of PRIORITY

This feature can be modified afterwards using unitary function DDL_DMA_SetStreamPriorityLevel().

Definition at line 154 of file g32r4xx_ddl_dma.h.


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