Go to the source code of this file.
Classes | |
struct | ws2811_channel_t |
struct | ws2811_t |
Macros | |
#define | SK6812_SHIFT_WMASK 0xf0000000 |
#define | SK6812_STRIP WS2811_STRIP_GRB |
#define | SK6812_STRIP_BGRW 0x18000810 |
#define | SK6812_STRIP_BRGW 0x18001008 |
#define | SK6812_STRIP_GBRW 0x18080010 |
#define | SK6812_STRIP_GRBW 0x18081000 |
#define | SK6812_STRIP_RBGW 0x18100008 |
#define | SK6812_STRIP_RGBW 0x18100800 |
#define | SK6812W_STRIP SK6812_STRIP_GRBW |
#define | WS2811_RETURN_STATES(X) |
#define | WS2811_RETURN_STATES_ENUM(state, name, str) name = state |
#define | WS2811_RETURN_STATES_STRING(state, name, str) str |
#define | WS2811_STRIP_BGR 0x00000810 |
#define | WS2811_STRIP_BRG 0x00001008 |
#define | WS2811_STRIP_GBR 0x00080010 |
#define | WS2811_STRIP_GRB 0x00081000 |
#define | WS2811_STRIP_RBG 0x00100008 |
#define | WS2811_STRIP_RGB 0x00100800 |
#define | WS2811_TARGET_FREQ 800000 |
#define | WS2812_STRIP WS2811_STRIP_GRB |
Typedefs | |
typedef struct ws2811_channel_t | ws2811_channel_t |
typedef uint32_t | ws2811_led_t |
typedef struct ws2811_t | ws2811_t |
Enumerations | |
enum | ws2811_return_t { WS2811_RETURN_STATES =(WS2811_RETURN_STATES_ENUM), WS2811_RETURN_STATE_COUNT, WS2811_RETURN_STATES =(WS2811_RETURN_STATES_ENUM), WS2811_RETURN_STATE_COUNT } |
Functions | |
void | ws2811_fini (ws2811_t *ws2811) |
const char * | ws2811_get_return_t_str (const ws2811_return_t state) |
ws2811_return_t | ws2811_init (ws2811_t *ws2811) |
ws2811_return_t | ws2811_render (ws2811_t *ws2811) |
void | ws2811_set_custom_gamma_factor (ws2811_t *ws2811, double gamma_factor) |
ws2811_return_t | ws2811_wait (ws2811_t *ws2811) |
#define SK6812_STRIP WS2811_STRIP_GRB |
#define SK6812W_STRIP SK6812_STRIP_GRBW |
#define WS2811_RETURN_STATES | ( | X | ) |
#define WS2811_RETURN_STATES_STRING | ( | state, | |
name, | |||
str | |||
) | str |
#define WS2812_STRIP WS2811_STRIP_GRB |
typedef struct ws2811_channel_t ws2811_channel_t |
typedef uint32_t ws2811_led_t |
enum ws2811_return_t |
void ws2811_fini | ( | ws2811_t * | ws2811 | ) |
const char* ws2811_get_return_t_str | ( | const ws2811_return_t | state | ) |
ws2811_return_t ws2811_init | ( | ws2811_t * | ws2811 | ) |
ws2811_return_t ws2811_render | ( | ws2811_t * | ws2811 | ) |
void ws2811_set_custom_gamma_factor | ( | ws2811_t * | ws2811, |
double | gamma_factor | ||
) |
ws2811_return_t ws2811_wait | ( | ws2811_t * | ws2811 | ) |