dRonin
adbada4
dRonin firmware
|
#include <pios_ws2811_cfg.h>
Go to the source code of this file.
Typedefs | |
typedef struct ws2811_dev_s * | ws2811_dev_t |
Functions | |
int | PIOS_WS2811_init (ws2811_dev_t *dev_out, const struct pios_ws2811_cfg *cfg, int max_leds) |
Allocate and initialise WS2811 device. More... | |
void | PIOS_WS2811_trigger_update (ws2811_dev_t dev) |
Trigger an update of the LED strand. More... | |
void | PIOS_WS2811_set (ws2811_dev_t dev, int idx, uint8_t r, uint8_t g, uint8_t b) |
Set a given LED to a color value. More... | |
void | PIOS_WS2811_set_all (ws2811_dev_t dev, uint8_t r, uint8_t g, uint8_t b) |
Sets all LEDs to a color value. More... | |
void | PIOS_WS2811_dma_interrupt_handler (ws2811_dev_t dev) |
Handles a DMA completion interrupt on bit_clear_dma_stream. More... | |
int | PIOS_WS2811_get_num_leds (ws2811_dev_t dev) |
Find out how many LEDs are configured on an interface. More... | |
Definition in file pios_ws2811.h.