NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
light_ws2811strip_stm32f30x.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <platform.h>
#include "gpio.h"
#include "nvic.h"
#include "common/color.h"
#include "drivers/light_ws2811strip.h"
Include dependency graph for light_ws2811strip_stm32f30x.c:

Macros

#define WS2811_GPIO   GPIOB
 
#define WS2811_GPIO_AHB_PERIPHERAL   RCC_AHBPeriph_GPIOB
 
#define WS2811_GPIO_AF   GPIO_AF_1
 
#define WS2811_PIN   GPIO_Pin_8
 
#define WS2811_PIN_SOURCE   GPIO_PinSource8
 
#define WS2811_TIMER   TIM16
 
#define WS2811_TIMER_APB2_PERIPHERAL   RCC_APB2Periph_TIM16
 
#define WS2811_DMA_CHANNEL   DMA1_Channel3
 
#define WS2811_IRQ   DMA1_Channel3_IRQn
 
#define WS2811_DMA_TC_FLAG   DMA1_FLAG_TC3
 
#define WS2811_DMA_HANDLER_IDENTIFER   DMA1_CH3_HANDLER
 

Functions

void ws2811LedStripHardwareInit (void)
 
void ws2811LedStripDMAEnable (void)
 

Macro Definition Documentation

#define WS2811_DMA_CHANNEL   DMA1_Channel3
#define WS2811_DMA_HANDLER_IDENTIFER   DMA1_CH3_HANDLER
#define WS2811_DMA_TC_FLAG   DMA1_FLAG_TC3
#define WS2811_GPIO   GPIOB
#define WS2811_GPIO_AF   GPIO_AF_1
#define WS2811_GPIO_AHB_PERIPHERAL   RCC_AHBPeriph_GPIOB
#define WS2811_IRQ   DMA1_Channel3_IRQn
#define WS2811_PIN   GPIO_Pin_8
#define WS2811_PIN_SOURCE   GPIO_PinSource8
#define WS2811_TIMER   TIM16
#define WS2811_TIMER_APB2_PERIPHERAL   RCC_APB2Periph_TIM16

Function Documentation

void ws2811LedStripDMAEnable ( void  )

Here is the call graph for this function:

void ws2811LedStripHardwareInit ( void  )

Here is the call graph for this function: