STM32H735xx HAL User Manual
Functions
MDMA Private Functions
MDMA

Functions

static void MDMA_SetConfig (MDMA_HandleTypeDef *hmdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t BlockDataLength, uint32_t BlockCount)
 Sets the MDMA Transfer parameter.
static void MDMA_Init (MDMA_HandleTypeDef *hmdma)
 Initializes the MDMA handle according to the specified parameters in the MDMA_InitTypeDef.

Function Documentation

static void MDMA_Init ( MDMA_HandleTypeDef hmdma) [static]

Initializes the MDMA handle according to the specified parameters in the MDMA_InitTypeDef.

Parameters:
hmdma,:pointer to a MDMA_HandleTypeDef structure that contains the configuration information for the specified MDMA Channel.
Return values:
None

Definition at line 1814 of file stm32h7xx_hal_mdma.c.

References MDMA_InitTypeDef::BufferTransferLength, MDMA_InitTypeDef::DestBlockAddressOffset, MDMA_InitTypeDef::DestDataSize, MDMA_InitTypeDef::DestinationInc, MDMA_InitTypeDef::Endianness, __MDMA_HandleTypeDef::Init, __MDMA_HandleTypeDef::Instance, MDMA_REQUEST_SW, MDMA_InitTypeDef::Priority, MDMA_InitTypeDef::Request, MDMA_InitTypeDef::SourceBlockAddressOffset, MDMA_InitTypeDef::SourceBurst, and MDMA_InitTypeDef::SourceInc.

Referenced by HAL_MDMA_Init().

static void MDMA_SetConfig ( MDMA_HandleTypeDef hmdma,
uint32_t  SrcAddress,
uint32_t  DstAddress,
uint32_t  BlockDataLength,
uint32_t  BlockCount 
) [static]

Sets the MDMA Transfer parameter.

Parameters:
hmdma,:pointer to a MDMA_HandleTypeDef structure that contains the configuration information for the specified MDMA Channel.
SrcAddress,:The source memory Buffer address
DstAddress,:The destination memory Buffer address
BlockDataLength: The length of a block transfer in bytes
BlockCount,:The number of blocks to be transferred
Return values:
HALstatus

Definition at line 1760 of file stm32h7xx_hal_mdma.c.

References __HAL_MDMA_CLEAR_FLAG, __MDMA_HandleTypeDef::FirstLinkedListNodeAddress, __MDMA_HandleTypeDef::Instance, MDMA_FLAG_CTC, and MDMA_FLAG_TE.

Referenced by HAL_MDMA_Start(), and HAL_MDMA_Start_IT().