]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_M7_STM32F7_STM32756G-EVAL_IAR_Keil/ST_Library/include/stm32f7xx_hal_dma_ex.h
Final V8.2.1 release ready for tagging:
[freertos] / FreeRTOS / Demo / CORTEX_M7_STM32F7_STM32756G-EVAL_IAR_Keil / ST_Library / include / stm32f7xx_hal_dma_ex.h
1 /**\r
2   ******************************************************************************\r
3   * @file    stm32f7xx_hal_dma_ex.h\r
4   * @author  MCD Application Team\r
5   * @version V1.0.0RC1\r
6   * @date    24-March-2015\r
7   * @brief   Header file of DMA HAL extension module.\r
8   ******************************************************************************\r
9   * @attention\r
10   *\r
11   * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>\r
12   *\r
13   * Redistribution and use in source and binary forms, with or without modification,\r
14   * are permitted provided that the following conditions are met:\r
15   *   1. Redistributions of source code must retain the above copyright notice,\r
16   *      this list of conditions and the following disclaimer.\r
17   *   2. Redistributions in binary form must reproduce the above copyright notice,\r
18   *      this list of conditions and the following disclaimer in the documentation\r
19   *      and/or other materials provided with the distribution.\r
20   *   3. Neither the name of STMicroelectronics nor the names of its contributors\r
21   *      may be used to endorse or promote products derived from this software\r
22   *      without specific prior written permission.\r
23   *\r
24   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
25   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
26   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r
27   * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\r
28   * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
29   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r
30   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\r
31   * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\r
32   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r
33   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
34   *\r
35   ******************************************************************************\r
36   */\r
37 \r
38 /* Define to prevent recursive inclusion -------------------------------------*/\r
39 #ifndef __STM32F7xx_HAL_DMA_EX_H\r
40 #define __STM32F7xx_HAL_DMA_EX_H\r
41 \r
42 #ifdef __cplusplus\r
43  extern "C" {\r
44 #endif\r
45 \r
46 /* Includes ------------------------------------------------------------------*/\r
47 #include "stm32f7xx_hal_def.h"\r
48 \r
49 /** @addtogroup STM32F7xx_HAL_Driver\r
50   * @{\r
51   */\r
52 \r
53 /** @addtogroup DMAEx\r
54   * @{\r
55   */ \r
56 \r
57 /* Exported types ------------------------------------------------------------*/\r
58 /** @defgroup DMAEx_Exported_Types DMAEx Exported Types\r
59   * @brief DMAEx Exported types\r
60   * @{\r
61   */\r
62    \r
63 /** \r
64   * @brief  HAL DMA Memory definition  \r
65   */ \r
66 typedef enum\r
67 {\r
68   MEMORY0      = 0x00,    /*!< Memory 0     */\r
69   MEMORY1      = 0x01,    /*!< Memory 1     */\r
70 \r
71 }HAL_DMA_MemoryTypeDef;\r
72 \r
73 /**\r
74   * @}\r
75   */\r
76 \r
77 /* Exported functions --------------------------------------------------------*/\r
78 /** @defgroup DMAEx_Exported_Functions DMAEx Exported Functions\r
79   * @brief   DMAEx Exported functions\r
80   * @{\r
81   */\r
82 \r
83 /** @defgroup DMAEx_Exported_Functions_Group1 Extended features functions\r
84   * @brief   Extended features functions\r
85   * @{\r
86   */\r
87 \r
88 /* IO operation functions *******************************************************/\r
89 HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);\r
90 HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);\r
91 HAL_StatusTypeDef HAL_DMAEx_ChangeMemory(DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory);\r
92 \r
93 /**\r
94   * @}\r
95   */\r
96 /**\r
97   * @}\r
98   */\r
99          \r
100 /* Private functions ---------------------------------------------------------*/\r
101 /** @defgroup DMAEx_Private_Functions DMAEx Private Functions\r
102   * @brief DMAEx Private functions\r
103   * @{\r
104   */\r
105 /**\r
106   * @}\r
107   */\r
108 \r
109 /**\r
110   * @}\r
111   */\r
112 \r
113 /**\r
114   * @}\r
115   */\r
116 \r
117 #ifdef __cplusplus\r
118 }\r
119 #endif\r
120 \r
121 #endif /* __STM32F7xx_HAL_DMA_H */\r
122 \r
123 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/\r