STM32H735xx HAL User Manual
Modules | Defines
DMA
STM32H7xx_LL_Driver

Modules

 DMA Private Variables
 DMA Exported Init structure
 DMA Exported Constants
 DMA Exported Macros
 DMA Exported Functions
 DMA_LL_Private_Macros

Defines

#define LL_DMA_INSTANCE_TO_DMAMUX_CHANNEL(__DMA_INSTANCE__)   (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) ? 0UL : 8UL)
 Helper macro to convert DMA Instance DMAx into DMAMUX channel.

Define Documentation

#define LL_DMA_INSTANCE_TO_DMAMUX_CHANNEL (   __DMA_INSTANCE__)    (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) ? 0UL : 8UL)

Helper macro to convert DMA Instance DMAx into DMAMUX channel.

Note:
DMAMUX channel 0 to 7 are mapped to DMA1 stream 0 to 7. DMAMUX channel 8 to 15 are mapped to DMA2 stream 0 to 7.
Parameters:
__DMA_INSTANCE__DMAx
Return values:
Channel_Offset(LL_DMAMUX_CHANNEL_8 or 0).

Definition at line 73 of file stm32h7xx_ll_dma.h.

Referenced by LL_DMA_GetPeriphRequest(), and LL_DMA_SetPeriphRequest().