STM32F479xx HAL User Manual
stm32f4xx_hal_dma_ex.h
Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    stm32f4xx_hal_dma_ex.h
00004   * @author  MCD Application Team
00005   * @brief   Header file of DMA HAL extension module.
00006   ******************************************************************************
00007   * @attention
00008   *
00009   * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
00010   * All rights reserved.</center></h2>
00011   *
00012   * This software component is licensed by ST under BSD 3-Clause license,
00013   * the "License"; You may not use this file except in compliance with the
00014   * License. You may obtain a copy of the License at:
00015   *                        opensource.org/licenses/BSD-3-Clause
00016   *
00017   ******************************************************************************
00018   */
00019 
00020 /* Define to prevent recursive inclusion -------------------------------------*/
00021 #ifndef __STM32F4xx_HAL_DMA_EX_H
00022 #define __STM32F4xx_HAL_DMA_EX_H
00023 
00024 #ifdef __cplusplus
00025  extern "C" {
00026 #endif
00027 
00028 /* Includes ------------------------------------------------------------------*/
00029 #include "stm32f4xx_hal_def.h"
00030 
00031 /** @addtogroup STM32F4xx_HAL_Driver
00032   * @{
00033   */
00034 
00035 /** @addtogroup DMAEx
00036   * @{
00037   */ 
00038 
00039 /* Exported types ------------------------------------------------------------*/
00040 /** @defgroup DMAEx_Exported_Types DMAEx Exported Types
00041   * @brief DMAEx Exported types
00042   * @{
00043   */
00044    
00045 /** 
00046   * @brief  HAL DMA Memory definition  
00047   */ 
00048 typedef enum
00049 {
00050   MEMORY0      = 0x00U,    /*!< Memory 0     */
00051   MEMORY1      = 0x01U     /*!< Memory 1     */
00052 }HAL_DMA_MemoryTypeDef;
00053 
00054 /**
00055   * @}
00056   */
00057 
00058 /* Exported functions --------------------------------------------------------*/
00059 /** @defgroup DMAEx_Exported_Functions DMAEx Exported Functions
00060   * @brief   DMAEx Exported functions
00061   * @{
00062   */
00063 
00064 /** @defgroup DMAEx_Exported_Functions_Group1 Extended features functions
00065   * @brief   Extended features functions
00066   * @{
00067   */
00068 
00069 /* IO operation functions *******************************************************/
00070 HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
00071 HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
00072 HAL_StatusTypeDef HAL_DMAEx_ChangeMemory(DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory);
00073 
00074 /**
00075   * @}
00076   */
00077 /**
00078   * @}
00079   */
00080          
00081 /* Private functions ---------------------------------------------------------*/
00082 /** @defgroup DMAEx_Private_Functions DMAEx Private Functions
00083   * @brief DMAEx Private functions
00084   * @{
00085   */
00086 /**
00087   * @}
00088   */
00089 
00090 /**
00091   * @}
00092   */
00093 
00094 /**
00095   * @}
00096   */
00097 
00098 #ifdef __cplusplus
00099 }
00100 #endif
00101 
00102 #endif /*__STM32F4xx_HAL_DMA_EX_H*/
00103 
00104 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/