NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dma.h
Go to the documentation of this file.
1 /*
2  * This file is part of Ninjaflight.
3  *
4  * Ninjaflight is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * Ninjaflight is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Ninjaflight. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
19 
20 typedef enum {
26 
27 typedef struct dmaHandlers_s {
33 
34 void dmaInit(void);
dmaCallbackHandlerFuncPtr dma1Channel6IRQHandler
Definition: dma.h:30
void dmaInit(void)
Definition: dma.c:62
dmaCallbackHandlerFuncPtr dma1Channel3IRQHandler
Definition: dma.h:29
Definition: dma.h:24
dmaCallbackHandlerFuncPtr dma1Channel2IRQHandler
Definition: dma.h:28
Definition: dma.h:27
struct dmaHandlers_s dmaHandlers_t
Definition: dma.h:22
Definition: dma.h:23
serialPortIdentifier_e identifier
Definition: serial.h:31
void dmaSetHandler(dmaHandlerIdentifier_e identifier, dmaCallbackHandlerFuncPtr callback)
Definition: dma.c:71
dmaHandlerIdentifier_e
Definition: dma.h:20
Definition: dma.h:21
void(* dmaCallbackHandlerFuncPtr)(DMA_Channel_TypeDef *channel)
Definition: dma.h:18
Definition: platform.h:58
dmaCallbackHandlerFuncPtr dma1Channel7IRQHandler
Definition: dma.h:31