dma.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /**
  2. ******************************************************************************
  3. * File Name : dma.h
  4. * Description : This file contains all the function prototypes for
  5. * the dma.c file
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under Ultimate Liberty license
  13. * SLA0044, the "License"; You may not use this file except in compliance with
  14. * the License. You may obtain a copy of the License at:
  15. * www.st.com/SLA0044
  16. *
  17. ******************************************************************************
  18. */
  19. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef __dma_H
  21. #define __dma_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "main.h"
  27. /* DMA memory to memory transfer handles -------------------------------------*/
  28. extern DMA_HandleTypeDef hdma_memtomem_dma2_stream0;
  29. extern DMA_HandleTypeDef hdma_memtomem_dma2_stream1;
  30. /* USER CODE BEGIN Includes */
  31. /* USER CODE END Includes */
  32. /* USER CODE BEGIN Private defines */
  33. /* USER CODE END Private defines */
  34. void MX_DMA_Init(void);
  35. /* USER CODE BEGIN Prototypes */
  36. /* USER CODE END Prototypes */
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif /* __dma_H */
  41. /**
  42. * @}
  43. */
  44. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/