CuVoodoo STM32F1 firmware template
Macros
timer peripheral used to generate SPI clock

Macros

#define LED_WS2812B_TIMER   TIM3
 timer peripheral
 
#define LED_WS2812B_TIMER_RCC   RCC_TIM3
 timer peripheral clock
 
#define LED_WS2812B_TIMER_OC   TIM_OC3
 timer output compare used to set PWM frequency
 
#define LED_WS2812B_CLK_RCC   RCC_GPIOB
 timer port peripheral clock
 
#define LED_WS2812B_CLK_PORT   GPIOB
 timer port
 
#define LED_WS2812B_CLK_PIN   GPIO_TIM3_CH3
 timer pin to output PWM (PB0), connect to SPI clock input
 

Detailed Description