dRonin
adbada4
dRonin firmware
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
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
39
struct
pios_ws2811_cfg
{
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
*/
pios_ws2811_cfg::timer_chan
uint8_t timer_chan
Definition:
pios_ws2811_cfg.h:41
pios.h
Main PiOS header to include all the compiled in PiOS options.
pios_ws2811_cfg::led_gpio
GPIO_TypeDef * led_gpio
Definition:
pios_ws2811_cfg.h:43
pios_ws2811_cfg::gpio_pin
uint16_t gpio_pin
Definition:
pios_ws2811_cfg.h:44
pios_ws2811_cfg::timer
TIM_TypeDef * timer
Definition:
pios_ws2811_cfg.h:40
pios_ws2811_cfg::timer_dma_source
uint16_t timer_dma_source
Definition:
pios_ws2811_cfg.h:48
pios_ws2811_cfg::dma_tcif
uint32_t dma_tcif
Definition:
pios_ws2811_cfg.h:52
pios_ws2811_cfg::dma_irqn
uint8_t dma_irqn
Definition:
pios_ws2811_cfg.h:54
pios_ws2811_cfg::dma_chan
DMA_Channel_TypeDef * dma_chan
Definition:
pios_ws2811_cfg.h:50
pios_ws2811_cfg::remap
uint32_t remap
Definition:
pios_ws2811_cfg.h:46
pios_ws2811_cfg
Definition:
pios_ws2811_cfg.h:39
flight
PiOS
STM32F30x
inc
pios_ws2811_cfg.h
Generated by
1.8.6