source: trunk/firmware/CubeMX/Inc/dma.h@ 6

Last change on this file since 6 was 1, checked in by f.jahn, 3 years ago
File size: 1.5 KB
RevLine 
[1]1/* USER CODE BEGIN Header */
2/**
3 ******************************************************************************
4 * @file dma.h
5 * @brief This file contains all the function prototypes for
6 * the dma.c file
7 ******************************************************************************
8 * @attention
9 *
10 * Copyright (c) 2022 STMicroelectronics.
11 * All rights reserved.
12 *
13 * This software is licensed under terms that can be found in the LICENSE file
14 * in the root directory of this software component.
15 * If no LICENSE file comes with this software, it is provided AS-IS.
16 *
17 ******************************************************************************
18 */
19/* USER CODE END Header */
20/* Define to prevent recursive inclusion -------------------------------------*/
21#ifndef __DMA_H__
22#define __DMA_H__
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28/* Includes ------------------------------------------------------------------*/
29#include "main.h"
30
31/* DMA memory to memory transfer handles -------------------------------------*/
32extern DMA_HandleTypeDef hdma_memtomem_dma1_channel2;
33
34/* USER CODE BEGIN Includes */
35
36/* USER CODE END Includes */
37
38/* USER CODE BEGIN Private defines */
39
40#define ADC_DMA_IRQ DMA1_Channel1_IRQn
41
42/* USER CODE END Private defines */
43
44void MX_DMA_Init(void);
45
46/* USER CODE BEGIN Prototypes */
47
48/* USER CODE END Prototypes */
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* __DMA_H__ */
55
Note: See TracBrowser for help on using the repository browser.