Mercurial > public > ostc4
comparison Small_CPU/Src/dma.c @ 696:cc542448fb28
Merge
author | heinrichsweikamp |
---|---|
date | Fri, 19 Aug 2022 11:30:24 +0200 |
parents | 1b995079c045 |
children |
comparison
equal
deleted
inserted
replaced
661:87bee7cc77b3 | 696:cc542448fb28 |
---|---|
32 * | 32 * |
33 ****************************************************************************** | 33 ****************************************************************************** |
34 */ | 34 */ |
35 /* Includes ------------------------------------------------------------------*/ | 35 /* Includes ------------------------------------------------------------------*/ |
36 #include "dma.h" | 36 #include "dma.h" |
37 #include "uart.h" | |
37 | 38 |
38 /* USER CODE BEGIN 0 */ | 39 /* USER CODE BEGIN 0 */ |
39 | 40 |
40 /* USER CODE END 0 */ | 41 /* USER CODE END 0 */ |
41 | 42 |
53 void MX_DMA_Init(void) | 54 void MX_DMA_Init(void) |
54 { | 55 { |
55 /* DMA controller clock enable */ | 56 /* DMA controller clock enable */ |
56 __DMA2_CLK_ENABLE(); | 57 __DMA2_CLK_ENABLE(); |
57 | 58 |
59 MX_USART1_DMA_Init(); | |
58 /* DMA interrupt init */ | 60 /* DMA interrupt init */ |
59 | 61 |
60 } | 62 } |
61 | 63 |
62 void MX_DMA_DeInit(void) | 64 void MX_DMA_DeInit(void) |