/Zephyr-latest/samples/drivers/led/led_strip/src/ |
D | main.c | 40 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/ |
D | apa102.c | 53 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()
|
D | lpd880x.c | 88 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()
|
D | ws2812_gpio.c | 133 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()
|
D | ws2812_spi.c | 79 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()
|
D | ws2812_i2s.c | 65 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()
|
D | ws2812_rpi_pico_pio.c | 76 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()
|
D | tlc5971.c | 183 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()
|
D | tlc59731.c | 119 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/ |
D | led_strip.h | 63 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/ |
D | cfb.cmake | 8 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/ |
D | display_led_strip_matrix.c | 19 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)];
|
D | Kconfig.renesas_ra | 22 - 0 frame buffer maintained by application, must write with full screen pixels.
|
D | Kconfig.nrf_led_matrix | 15 to pixels are specified in properties of a "nordic,nrf-led-matrix"
|
D | Kconfig.sdl | 66 The size of the checkerboard pattern squares, in pixels.
|
D | Kconfig.stm32_ltdc | 51 - 0 frame buffer maintained by application, must write with full screen pixels.
|
/Zephyr-latest/samples/boards/bbc/microbit/display/ |
D | README.rst | 27 through all pixels one-by-one, displays a smiley face, some animations,
|
/Zephyr-latest/scripts/build/ |
D | gen_cfb_font_header.py | 20 pixels = blackwhite.load() 41 if pixels[col, row]: 54 if pixels[col, row]:
|
/Zephyr-latest/boards/shields/ssd1306/doc/ |
D | index.rst | 3 SSD1306 128x64(/32) pixels generic shield
|
/Zephyr-latest/boards/shields/g1120b0mipi/doc/ |
D | index.rst | 9 The G1120B0MIPI is a 1.2 inch circular AMOLED display, 390x390 pixels, with a
|
/Zephyr-latest/boards/shields/rk055hdmipi4m/doc/ |
D | index.rst | 9 The Rocktech RK055HDMIPI4M MIPI Display is a 5.5 inch TFT 720x1280 pixels
|
/Zephyr-latest/boards/shields/rk055hdmipi4ma0/doc/ |
D | index.rst | 9 The Rocktech RK055HDMIPI4MA0 MIPI Display is a 5.5 inch TFT 720x1280 pixels
|
/Zephyr-latest/boards/shields/rtkmipilcdb00000be/doc/ |
D | index.rst | 9 The Focus LCDs RTKMIPILCDB00000BE MIPI Display is a 4.5 inch TFT 480x854 pixels
|
/Zephyr-latest/samples/subsys/display/cfb_shell/ |
D | README.rst | 63 (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/ |
D | Kconfig | 121 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
|