Extended features functions.
More...
|
HAL_StatusTypeDef | HAL_DMAEx_MultiBufferStart (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength) |
| Starts the multi_buffer DMA Transfer. More...
|
|
HAL_StatusTypeDef | HAL_DMAEx_MultiBufferStart_IT (DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength) |
| Starts the multi_buffer DMA Transfer with interrupt enabled. More...
|
|
HAL_StatusTypeDef | HAL_DMAEx_ChangeMemory (DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory) |
| Change the memory0 or memory1 address on the fly. More...
|
|
Extended features functions.
===============================================================================
##### Extended features functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Configure the source, destination address and data length and
Start MultiBuffer DMA transfer
(+) Configure the source, destination address and data length and
Start MultiBuffer DMA transfer with interrupt
(+) Change on the fly the memory0 or memory1 address.
◆ HAL_DMAEx_ChangeMemory()
HAL_StatusTypeDef HAL_DMAEx_ChangeMemory |
( |
DMA_HandleTypeDef * |
hdma, |
|
|
uint32_t |
Address, |
|
|
HAL_DMA_MemoryTypeDef |
memory |
|
) |
| |
Change the memory0 or memory1 address on the fly.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream.
|
Address | The new address |
memory | the memory to be changed, This parameter can be one of the following values: MEMORY0 / MEMORY1 |
- Note
- The MEMORY0 address can be changed only when the current transfer use MEMORY1 and the MEMORY1 address can be changed only when the current transfer use MEMORY0.
- Return values
-
Definition at line 239 of file stm32f4xx_hal_dma_ex.c.
◆ HAL_DMAEx_MultiBufferStart()
HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart |
( |
DMA_HandleTypeDef * |
hdma, |
|
|
uint32_t |
SrcAddress, |
|
|
uint32_t |
DstAddress, |
|
|
uint32_t |
SecondMemAddress, |
|
|
uint32_t |
DataLength |
|
) |
| |
Starts the multi_buffer DMA Transfer.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream.
|
SrcAddress | The source memory Buffer address |
DstAddress | The destination memory Buffer address |
SecondMemAddress | The second memory Buffer address in case of multi buffer Transfer
|
DataLength | The length of data to be transferred from source to destination |
- Return values
-
Definition at line 100 of file stm32f4xx_hal_dma_ex.c.
◆ HAL_DMAEx_MultiBufferStart_IT()
HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT |
( |
DMA_HandleTypeDef * |
hdma, |
|
|
uint32_t |
SrcAddress, |
|
|
uint32_t |
DstAddress, |
|
|
uint32_t |
SecondMemAddress, |
|
|
uint32_t |
DataLength |
|
) |
| |
Starts the multi_buffer DMA Transfer with interrupt enabled.
- Parameters
-
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream.
|
SrcAddress | The source memory Buffer address |
DstAddress | The destination memory Buffer address |
SecondMemAddress | The second memory Buffer address in case of multi buffer Transfer
|
DataLength | The length of data to be transferred from source to destination |
- Return values
-
Definition at line 154 of file stm32f4xx_hal_dma_ex.c.