_ll_dma_init Struct Reference

LL DMA init Structure definition. More...

#include <gr55xx_ll_dma.h>

Data Fields

uint32_t src_address
 
uint32_t dst_address
 
uint32_t direction
 
uint32_t mode
 
uint32_t src_increment_mode
 
uint32_t dst_increment_mode
 
uint32_t src_data_width
 
uint32_t dst_data_width
 
uint32_t block_size
 
uint32_t src_peripheral
 
uint32_t dst_peripheral
 
uint32_t priority
 

Detailed Description

LL DMA init Structure definition.

Field Documentation

◆ block_size

uint32_t _ll_dma_init::block_size

Specifies the number of data to transfer, in data unit. The data unit is equal to the source buffer configuration set in src_data_width parameters. This parameter must be a value between Min_Data = 0 and Max_Data = 0x1FF

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

◆ direction

uint32_t _ll_dma_init::direction

Specifies if the data will be transferred from memory to peripheral, from memory to memory or from peripheral to memory or form peripheral to peripheral. This parameter can be a value of Transfer Direction

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

◆ dst_address

uint32_t _ll_dma_init::dst_address

Specifies the Destination base address for DMA transfer.

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

◆ dst_data_width

uint32_t _ll_dma_init::dst_data_width

Specifies the Destination transfer width alignment(byte, half word, word). This parameter can be a value of Destination data alignment

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

◆ dst_increment_mode

uint32_t _ll_dma_init::dst_increment_mode

Specifies whether the Destination address is incremented or decrement or not. This parameter can be a value of Destination increment mode

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

◆ dst_peripheral

uint32_t _ll_dma_init::dst_peripheral

Specifies the Destination peripheral type. This parameter can be a value of DMA Peripheral type

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

◆ mode

uint32_t _ll_dma_init::mode

Specifies the Single block or Multi-block operation mode. This parameter can be a value of Transfer mode

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

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

◆ priority

uint32_t _ll_dma_init::priority

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

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

◆ src_address

uint32_t _ll_dma_init::src_address

Specifies the Source base address for DMA transfer.

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

◆ src_data_width

uint32_t _ll_dma_init::src_data_width

Specifies the Souce transfer width alignment(byte, half word, word). This parameter can be a value of Source data alignment

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

◆ src_increment_mode

uint32_t _ll_dma_init::src_increment_mode

Specifies whether the Source address is incremented or decrement or not. This parameter can be a value of Source increment mode

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

◆ src_peripheral

uint32_t _ll_dma_init::src_peripheral

Specifies the Source peripheral type. This parameter can be a value of DMA Peripheral type

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


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