dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_dma.h
Go to the documentation of this file.
1 
14 /*
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 3 of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful, but
21  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23  * for more details.
24  *
25  * You should have received a copy of the GNU General Public License along
26  * with this program; if not, see <http://www.gnu.org/licenses/>
27  */
28 #ifndef PIOS_DMA_H_
29 #define PIOS_DMA_H_
30 
31 #include <pios.h>
32 #if defined(PIOS_INCLUDE_DMA_CB_SUBSCRIBING_FUNCTION)
33 extern void PIOS_DMA_Default_Handler();
34 extern int8_t PIOS_DMA_Install_Interrupt_handler(DMA_Channel_TypeDef *channel, void * function);
35 extern void (*pios_dma_handler_map[PIOS_DMA_MAX_CHANNELS][PIOS_DMA_MAX_HANDLERS_PER_CHANNEL])(void);
36 #endif /* PIOS_INCLUDE_DMA_CB_SUBSCRIBING_FUNCTION */
37 #endif /* PIOS_DMA_H_ */
Main PiOS header to include all the compiled in PiOS options.
#define PIOS_DMA_MAX_HANDLERS_PER_CHANNEL
Definition: pios_board.h:224
#define PIOS_DMA_MAX_CHANNELS
Definition: pios_board.h:223