HAL
__LL_DMA_GET_STREAM_INSTANCE
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/4)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
HAL
__LL_DMA_GET_STREAM_INSTANCE
__LL_DMA_GET_STREAM_INSTANCE macro
Convert DMA Instance DMAx and LL_DMA_STREAM_y into DMAx_Streamy
Syntax
Show:
Summary
Declaration
from
stm32f4xx_ll_dma.h:444
#define
__LL_DMA_GET_STREAM_INSTANCE
(
__DMA_INSTANCE__
,
__STREAM__
)
\
(
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA1
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_0
)
)
)
?
DMA1_Stream0
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA2
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_0
)
)
)
?
DMA2_Stream0
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA1
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_1
)
)
)
?
DMA1_Stream1
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA2
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_1
)
)
)
?
DMA2_Stream1
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA1
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_2
)
)
)
?
DMA1_Stream2
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA2
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_2
)
)
)
?
DMA2_Stream2
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA1
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_3
)
)
)
?
DMA1_Stream3
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA2
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_3
)
)
)
?
DMA2_Stream3
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA1
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_4
)
)
)
?
DMA1_Stream4
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA2
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_4
)
)
)
?
DMA2_Stream4
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA1
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_5
)
)
)
?
DMA1_Stream5
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA2
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_5
)
)
)
?
DMA2_Stream5
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA1
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_6
)
)
)
?
DMA1_Stream6
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA2
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_6
)
)
)
?
DMA2_Stream6
:
\
(
(
(
uint32_t
)
(
__DMA_INSTANCE__
)
==
(
(
uint32_t
)
DMA1
)
)
&&
(
(
uint32_t
)
(
__STREAM__
)
==
(
(
uint32_t
)
LL_DMA_STREAM_7
)
)
)
?
DMA1_Stream7
:
\
DMA2_Stream7
)
Arguments
Argument
Description
__DMA_INSTANCE__
DMAx
__STREAM__
LL_DMA_STREAM_y
Return value
DMAx_Streamy
Examples
References
from
examples
Code
Location
#define
__LL_DMA_GET_STREAM_INSTANCE
(
__DMA_INSTANCE__
,
__STREAM__
)
\
stm32f4xx_ll_dma.h:444
tmp
=
(
DMA_Stream_TypeDef
*
)
(
__LL_DMA_GET_STREAM_INSTANCE
(
DMAx
,
Stream
)
)
;
stm32f4xx_ll_dma.c:192
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out