• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2   ******************************************************************************
3   * @file    stm32f4xx_hal_dma_ex.h
4   * @author  MCD Application Team
5   * @brief   Header file of DMA HAL extension module.
6   ******************************************************************************
7   * @attention
8   *
9   * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
10   * All rights reserved.</center></h2>
11   *
12   * This software component is licensed by ST under BSD 3-Clause license,
13   * the "License"; You may not use this file except in compliance with the
14   * License. You may obtain a copy of the License at:
15   *                        opensource.org/licenses/BSD-3-Clause
16   *
17   ******************************************************************************
18   */
19 
20 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef __STM32F4xx_HAL_DMA_EX_H
22 #define __STM32F4xx_HAL_DMA_EX_H
23 
24 #ifdef __cplusplus
25  extern "C" {
26 #endif
27 
28 /* Includes ------------------------------------------------------------------*/
29 #include "stm32f4xx_hal_def.h"
30 
31 /** @addtogroup STM32F4xx_HAL_Driver
32   * @{
33   */
34 
35 /** @addtogroup DMAEx
36   * @{
37   */
38 
39 /* Exported types ------------------------------------------------------------*/
40 /** @defgroup DMAEx_Exported_Types DMAEx Exported Types
41   * @brief DMAEx Exported types
42   * @{
43   */
44 
45 /**
46   * @brief  HAL DMA Memory definition
47   */
48 typedef enum
49 {
50   MEMORY0      = 0x00U,    /*!< Memory 0     */
51   MEMORY1      = 0x01U     /*!< Memory 1     */
52 }HAL_DMA_MemoryTypeDef;
53 
54 /**
55   * @}
56   */
57 
58 /* Exported functions --------------------------------------------------------*/
59 /** @defgroup DMAEx_Exported_Functions DMAEx Exported Functions
60   * @brief   DMAEx Exported functions
61   * @{
62   */
63 
64 /** @defgroup DMAEx_Exported_Functions_Group1 Extended features functions
65   * @brief   Extended features functions
66   * @{
67   */
68 
69 /* IO operation functions *******************************************************/
70 HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
71 HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
72 HAL_StatusTypeDef HAL_DMAEx_ChangeMemory(DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory);
73 
74 /**
75   * @}
76   */
77 /**
78   * @}
79   */
80 
81 /* Private functions ---------------------------------------------------------*/
82 /** @defgroup DMAEx_Private_Functions DMAEx Private Functions
83   * @brief DMAEx Private functions
84   * @{
85   */
86 /**
87   * @}
88   */
89 
90 /**
91   * @}
92   */
93 
94 /**
95   * @}
96   */
97 
98 #ifdef __cplusplus
99 }
100 #endif
101 
102 #endif /*__STM32F4xx_HAL_DMA_EX_H*/
103 
104 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
105