dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_ws2811_cfg.h
Go to the documentation of this file.
1 
18 /*
19  * This program is free software; you can redistribute it and/or modify
20  * it under the terms of the GNU General Public License as published by
21  * the Free Software Foundation; either version 3 of the License, or
22  * (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful, but
25  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
26  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
27  * for more details.
28  *
29  * You should have received a copy of the GNU General Public License along
30  * with this program; if not, write to the Free Software Foundation, Inc.,
31  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32  */
33 
34 #ifndef _PIOS_WS2811_TARGET_H
35 #define _PIOS_WS2811_TARGET_H
36 
37 #include <pios.h>
38 
40  TIM_TypeDef *timer;
41  uint8_t timer_chan;
42 
43  GPIO_TypeDef *led_gpio;
44  uint16_t gpio_pin;
45 
46  uint32_t remap;
47 
48  uint16_t timer_dma_source;
49 
50  DMA_Channel_TypeDef *dma_chan;
51 
52  uint32_t dma_tcif;
53 
54  uint8_t dma_irqn;
55 };
56 
57 #endif /* _PIOS_WS2811_TARGET_H */
58 
59 /*
60  * @}
61  * @}
62  */
Main PiOS header to include all the compiled in PiOS options.
GPIO_TypeDef * led_gpio
TIM_TypeDef * timer
uint16_t timer_dma_source
DMA_Channel_TypeDef * dma_chan