Home
last modified time | relevance | path

Searched refs:pixels (Results 1 – 25 of 47) sorted by relevance

12

/Zephyr-latest/samples/drivers/led/led_strip/src/
Dmain.c40 static struct led_rgb pixels[STRIP_NUM_PIXELS]; variable
58 for (size_t cursor = 0; cursor < ARRAY_SIZE(pixels); cursor++) { in main()
59 memset(&pixels, 0x00, sizeof(pixels)); in main()
60 memcpy(&pixels[cursor], &colors[color], sizeof(struct led_rgb)); in main()
62 rc = led_strip_update_rgb(strip, pixels, STRIP_NUM_PIXELS); in main()
/Zephyr-latest/drivers/led_strip/
Dapa102.c53 static int apa102_update_rgb(const struct device *dev, struct led_rgb *pixels, in apa102_update_rgb() argument
56 uint8_t *p = (uint8_t *)pixels; in apa102_update_rgb()
63 uint8_t r = pixels[i].r; in apa102_update_rgb()
64 uint8_t g = pixels[i].g; in apa102_update_rgb()
65 uint8_t b = pixels[i].b; in apa102_update_rgb()
74 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() argument
91 uint8_t *px = (uint8_t *)pixels; in lpd880x_strip_update_rgb()
100 r = 0x80 | (pixels[i].r >> 1); in lpd880x_strip_update_rgb()
101 g = 0x80 | (pixels[i].g >> 1); in lpd880x_strip_update_rgb()
102 b = 0x80 | (pixels[i].b >> 1); in lpd880x_strip_update_rgb()
113 return lpd880x_update(dev, pixels, 3 * num_pixels); in lpd880x_strip_update_rgb()
Dws2812_gpio.c133 struct led_rgb *pixels, in ws2812_gpio_update_rgb() argument
137 uint8_t *ptr = (uint8_t *)pixels; in ws2812_gpio_update_rgb()
151 *ptr++ = pixels[i].r; in ws2812_gpio_update_rgb()
154 *ptr++ = pixels[i].g; in ws2812_gpio_update_rgb()
157 *ptr++ = pixels[i].b; in ws2812_gpio_update_rgb()
165 return send_buf(dev, (uint8_t *)pixels, num_pixels * config->num_colors); in ws2812_gpio_update_rgb()
Dws2812_spi.c79 struct led_rgb *pixels, in ws2812_strip_update_rgb() argument
112 pixel = pixels[i].r; in ws2812_strip_update_rgb()
115 pixel = pixels[i].g; in ws2812_strip_update_rgb()
118 pixel = pixels[i].b; in ws2812_strip_update_rgb()
Dws2812_i2s.c65 static int ws2812_strip_update_rgb(const struct device *dev, struct led_rgb *pixels, in ws2812_strip_update_rgb() argument
105 pixel = pixels[i].r; in ws2812_strip_update_rgb()
108 pixel = pixels[i].g; in ws2812_strip_update_rgb()
111 pixel = pixels[i].b; in ws2812_strip_update_rgb()
Dws2812_rpi_pico_pio.c76 static int ws2812_led_strip_update_rgb(const struct device *dev, struct led_rgb *pixels, in ws2812_led_strip_update_rgb() argument
93 color |= pixels[i].r << (8 * (2 - j)); in ws2812_led_strip_update_rgb()
96 color |= pixels[i].g << (8 * (2 - j)); in ws2812_led_strip_update_rgb()
99 color |= pixels[i].b << (8 * (2 - j)); in ws2812_led_strip_update_rgb()
Dtlc5971.c183 static void tlc5971_fill_data_buffer(const struct device *dev, struct led_rgb *pixels, in tlc5971_fill_data_buffer() argument
209 &pixels[(device * TLC5971_PIXELS_PER_DEVICE) + pixel]; in tlc5971_fill_data_buffer()
249 static int tlc5971_update_rgb(const struct device *dev, struct led_rgb *pixels, size_t num_pixels) in tlc5971_update_rgb() argument
251 tlc5971_fill_data_buffer(dev, pixels, num_pixels); in tlc5971_update_rgb()
Dtlc59731.c119 static int tlc59731_gpio_update_rgb(const struct device *dev, struct led_rgb *pixels, in tlc59731_gpio_update_rgb() argument
126 err = tlc59731_led_set_color(dev, &pixels[i]); in tlc59731_gpio_update_rgb()
/Zephyr-latest/include/zephyr/drivers/
Dled_strip.h63 struct led_rgb *pixels,
108 struct led_rgb *pixels, in led_strip_update_rgb() argument
124 return api->update_rgb(dev, pixels, num_pixels); in led_strip_update_rgb()
/Zephyr-latest/cmake/
Dcfb.cmake8 width # Width of the CFB font elements in pixels
9 height # Height of the CFB font elements in pixels
32 width # Width of the CFB font elements in pixels
33 height # Height of the CFB font elements in pixels
50 width # Width of the CFB font elements in pixels
51 height # Height of the CFB font elements in pixels
/Zephyr-latest/drivers/display/
Ddisplay_led_strip_matrix.c19 struct led_rgb *pixels; member
80 return &config->strips[i].pixels[idx]; in pixel_address()
146 rc = led_strip_update_rgb(config->strips[i].dev, config->strips[i].pixels, in led_strip_matrix_write()
235 .pixels = pixels##inst##_##idx, \
239 static struct led_rgb pixels##inst##_##idx[CHAIN_LENGTH(idx, inst)];
DKconfig.renesas_ra22 - 0 frame buffer maintained by application, must write with full screen pixels.
DKconfig.nrf_led_matrix15 to pixels are specified in properties of a "nordic,nrf-led-matrix"
DKconfig.sdl66 The size of the checkerboard pattern squares, in pixels.
DKconfig.stm32_ltdc51 - 0 frame buffer maintained by application, must write with full screen pixels.
/Zephyr-latest/samples/boards/bbc/microbit/display/
DREADME.rst27 through all pixels one-by-one, displays a smiley face, some animations,
/Zephyr-latest/scripts/build/
Dgen_cfb_font_header.py20 pixels = blackwhite.load()
41 if pixels[col, row]:
54 if pixels[col, row]:
/Zephyr-latest/boards/shields/ssd1306/doc/
Dindex.rst3 SSD1306 128x64(/32) pixels generic shield
/Zephyr-latest/boards/shields/g1120b0mipi/doc/
Dindex.rst9 The G1120B0MIPI is a 1.2 inch circular AMOLED display, 390x390 pixels, with a
/Zephyr-latest/boards/shields/rk055hdmipi4m/doc/
Dindex.rst9 The Rocktech RK055HDMIPI4M MIPI Display is a 5.5 inch TFT 720x1280 pixels
/Zephyr-latest/boards/shields/rk055hdmipi4ma0/doc/
Dindex.rst9 The Rocktech RK055HDMIPI4MA0 MIPI Display is a 5.5 inch TFT 720x1280 pixels
/Zephyr-latest/boards/shields/rtkmipilcdb00000be/doc/
Dindex.rst9 The Focus LCDs RTKMIPILCDB00000BE MIPI Display is a 4.5 inch TFT 480x854 pixels
/Zephyr-latest/samples/subsys/display/cfb_shell/
DREADME.rst63 (pixel per tile) are in pixels and the number of rows and columns. The row
77 **get_fonts**: print the index, height and width in pixels of the static
/Zephyr-latest/modules/lvgl/
DKconfig121 Number of pixels, X axis should be rounded to. Should be used to override
129 Number of pixels, Y axis should be rounded to. Should be used to override

12