Skip to content
Commit daeb7b90 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Benjamin Cabé
Browse files

include: drivers: stm32 dma: Provide a GET_INSTANCE macro



To simplify the work on client drivers, provide a STM32_DMA_GET_INSTANCE()
macro which abstracts:
- STM32_DMA_STREAM_OFFSET
- __LL_DMA_GET_STREAM_INSTANCE() vs __LL_DMA_GET_CHANNEL_INSTANCE()

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@st.com>
parent 67d2281f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment