Go to the documentation of this file.
21 #ifndef __STM32F7xx_HAL_DMA_EX_H
22 #define __STM32F7xx_HAL_DMA_EX_H
70 #define DMA_CHANNEL_0 0x00000000U
71 #define DMA_CHANNEL_1 0x02000000U
72 #define DMA_CHANNEL_2 0x04000000U
73 #define DMA_CHANNEL_3 0x06000000U
74 #define DMA_CHANNEL_4 0x08000000U
75 #define DMA_CHANNEL_5 0x0A000000U
76 #define DMA_CHANNEL_6 0x0C000000U
77 #define DMA_CHANNEL_7 0x0E000000U
78 #if defined (STM32F722xx) || defined (STM32F723xx) || defined (STM32F732xx) || defined (STM32F733xx) ||\
79 defined (STM32F765xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) ||\
80 defined (STM32F779xx) || defined (STM32F730xx)
81 #define DMA_CHANNEL_8 0x10000000U
82 #define DMA_CHANNEL_9 0x12000000U
83 #define DMA_CHANNEL_10 0x14000000U
84 #define DMA_CHANNEL_11 0x16000000U
85 #define DMA_CHANNEL_12 0x18000000U
86 #define DMA_CHANNEL_13 0x1A000000U
87 #define DMA_CHANNEL_14 0x1C000000U
88 #define DMA_CHANNEL_15 0x1E000000U
128 #if defined (STM32F722xx) || defined (STM32F723xx) || defined (STM32F732xx) || defined (STM32F733xx) ||\
129 defined (STM32F765xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) ||\
130 defined (STM32F779xx) || defined (STM32F730xx)
131 #define IS_DMA_CHANNEL(CHANNEL) (((CHANNEL) == DMA_CHANNEL_0) || \
132 ((CHANNEL) == DMA_CHANNEL_1) || \
133 ((CHANNEL) == DMA_CHANNEL_2) || \
134 ((CHANNEL) == DMA_CHANNEL_3) || \
135 ((CHANNEL) == DMA_CHANNEL_4) || \
136 ((CHANNEL) == DMA_CHANNEL_5) || \
137 ((CHANNEL) == DMA_CHANNEL_6) || \
138 ((CHANNEL) == DMA_CHANNEL_7) || \
139 ((CHANNEL) == DMA_CHANNEL_8) || \
140 ((CHANNEL) == DMA_CHANNEL_9) || \
141 ((CHANNEL) == DMA_CHANNEL_10) || \
142 ((CHANNEL) == DMA_CHANNEL_11) || \
143 ((CHANNEL) == DMA_CHANNEL_12) || \
144 ((CHANNEL) == DMA_CHANNEL_13) || \
145 ((CHANNEL) == DMA_CHANNEL_14) || \
146 ((CHANNEL) == DMA_CHANNEL_15))
148 #define IS_DMA_CHANNEL(CHANNEL) (((CHANNEL) == DMA_CHANNEL_0) || \
149 ((CHANNEL) == DMA_CHANNEL_1) || \
150 ((CHANNEL) == DMA_CHANNEL_2) || \
151 ((CHANNEL) == DMA_CHANNEL_3) || \
152 ((CHANNEL) == DMA_CHANNEL_4) || \
153 ((CHANNEL) == DMA_CHANNEL_5) || \
154 ((CHANNEL) == DMA_CHANNEL_6) || \
155 ((CHANNEL) == DMA_CHANNEL_7))
HAL_StatusTypeDef
HAL Status structures definition
DMA handle Structure definition.
HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength)
HAL_StatusTypeDef HAL_DMAEx_ChangeMemory(DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory)
HAL_DMA_MemoryTypeDef
HAL DMA Memory definition
HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength)
This file contains HAL common defines, enumeration, macros and structures definitions.