Home
last modified time | relevance | path

Searched refs:led_rgb (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-2.7.6/samples/drivers/led_apa102/src/
Dmain.c28 static const struct led_rgb colors[] = {
34 static const struct led_rgb black = {
40 struct led_rgb strip_colors[STRIP_NUM_LEDS];
42 const struct led_rgb *color_at(size_t time, size_t i) in color_at()
/Zephyr-Core-2.7.6/samples/drivers/led_lpd8806/src/
Dmain.c27 static const struct led_rgb colors[] = {
33 static const struct led_rgb black = {
39 struct led_rgb strip_colors[STRIP_NUM_LEDS];
43 const struct led_rgb *color_at(size_t time, size_t i) in color_at()
/Zephyr-Core-2.7.6/include/drivers/
Dled_strip.h38 struct led_rgb { struct
61 struct led_rgb *pixels, argument
100 struct led_rgb *pixels, in led_strip_update_rgb()
/Zephyr-Core-2.7.6/samples/drivers/led_ws2812/src/
Dmain.c28 static const struct led_rgb colors[] = {
34 struct led_rgb pixels[STRIP_NUM_PIXELS];
53 memcpy(&pixels[cursor], &colors[color], sizeof(struct led_rgb)); in main()
/Zephyr-Core-2.7.6/drivers/led_strip/
Dapa102.c52 static int apa102_update_rgb(const struct device *dev, struct led_rgb *pixels, in apa102_update_rgb()
72 BUILD_ASSERT(sizeof(struct led_rgb) == 4); in apa102_update_rgb()
73 return apa102_update(dev, pixels, sizeof(struct led_rgb) * count); in apa102_update_rgb()
Dlpd880x.c88 struct led_rgb *pixels, in lpd880x_strip_update_rgb()
Dws2812_spi.c93 struct led_rgb *pixels, in ws2812_strip_update_rgb()
Dws2812_gpio.c160 struct led_rgb *pixels, in ws2812_gpio_update_rgb()