You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

105 rivejä
2.8 KiB

  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. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef __STM32F4xx_HAL_DMA_EX_H
  21. #define __STM32F4xx_HAL_DMA_EX_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32f4xx_hal_def.h"
  27. /** @addtogroup STM32F4xx_HAL_Driver
  28. * @{
  29. */
  30. /** @addtogroup DMAEx
  31. * @{
  32. */
  33. /* Exported types ------------------------------------------------------------*/
  34. /** @defgroup DMAEx_Exported_Types DMAEx Exported Types
  35. * @brief DMAEx Exported types
  36. * @{
  37. */
  38. /**
  39. * @brief HAL DMA Memory definition
  40. */
  41. typedef enum
  42. {
  43. MEMORY0 = 0x00U, /*!< Memory 0 */
  44. MEMORY1 = 0x01U /*!< Memory 1 */
  45. }HAL_DMA_MemoryTypeDef;
  46. /**
  47. * @}
  48. */
  49. /* Exported functions --------------------------------------------------------*/
  50. /** @defgroup DMAEx_Exported_Functions DMAEx Exported Functions
  51. * @brief DMAEx Exported functions
  52. * @{
  53. */
  54. /** @defgroup DMAEx_Exported_Functions_Group1 Extended features functions
  55. * @brief Extended features functions
  56. * @{
  57. */
  58. /* IO operation functions *******************************************************/
  59. HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
  60. HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
  61. HAL_StatusTypeDef HAL_DMAEx_ChangeMemory(DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory);
  62. /**
  63. * @}
  64. */
  65. /**
  66. * @}
  67. */
  68. /* Private functions ---------------------------------------------------------*/
  69. /** @defgroup DMAEx_Private_Functions DMAEx Private Functions
  70. * @brief DMAEx Private functions
  71. * @{
  72. */
  73. /**
  74. * @}
  75. */
  76. /**
  77. * @}
  78. */
  79. /**
  80. * @}
  81. */
  82. #ifdef __cplusplus
  83. }
  84. #endif
  85. #endif /*__STM32F4xx_HAL_DMA_EX_H*/
  86. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/