SPKT

Dependencies:   F746_GUI SD_PlayerSkeleton F746_SAI_IO

Committer:
phungductung
Date:
Tue Jun 04 21:37:21 2019 +0000
Revision:
0:8ede47d38d10
SPKT

Who changed what in which revision?

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