NinjaFlight
|
#include <stdint.h>
#include <stdlib.h>
#include <limits.h>
#include <platform.h>
#include "build_config.h"
#include "common/color.h"
#include "drivers/dma.h"
#include "drivers/light_ws2811strip.h"
#include "unittest_macros.h"
#include "gtest/gtest.h"
Functions | |
void | fastUpdateLEDDMABuffer (uint8_t **dst, rgbColor24bpp_t color) |
TEST (WS2812, updateDMABuffer) | |
rgbColor24bpp_t | hsvToRgb24 (const hsvColor_t *c) |
void | ws2811LedStripHardwareInit (void) |
void | ws2811LedStripDMAEnable (void) |
void | dmaSetHandler (dmaHandlerIdentifier_e, dmaCallbackHandlerFuncPtr) |
uint8_t | DMA_GetFlagStatus (uint32_t) |
void | DMA_Cmd (DMA_Channel_TypeDef *, FunctionalState) |
void | DMA_ClearFlag (uint32_t) |
Variables | |
uint16_t | dmaBufferOffset |
void DMA_ClearFlag | ( | uint32_t | ) |
void DMA_Cmd | ( | DMA_Channel_TypeDef * | , |
FunctionalState | |||
) |
uint8_t DMA_GetFlagStatus | ( | uint32_t | ) |
void dmaSetHandler | ( | dmaHandlerIdentifier_e | , |
dmaCallbackHandlerFuncPtr | |||
) |
void fastUpdateLEDDMABuffer | ( | uint8_t ** | dst, |
rgbColor24bpp_t | color | ||
) |
rgbColor24bpp_t hsvToRgb24 | ( | const hsvColor_t * | c | ) |
TEST | ( | WS2812 | , |
updateDMABuffer | |||
) |
void ws2811LedStripDMAEnable | ( | void | ) |
void ws2811LedStripHardwareInit | ( | void | ) |
uint16_t dmaBufferOffset |