Home
last modified time | relevance | path

Searched full:colors (Results 1 – 25 of 86) sorted by relevance

1234

/Zephyr-latest/tests/drivers/led/led_api/src/
Dtest_led_api.c157 uint8_t colors[TEST_MAX_COLORS + 1]; in ZTEST_USER() local
175 memset(colors, 0, sizeof(colors)); in ZTEST_USER()
177 /* Try to set more colors than supported. */ in ZTEST_USER()
178 ret = led_set_color(led_ctrl, led, num_colors + 1, colors); in ZTEST_USER()
180 " colors should fail (%d supported)", in ZTEST_USER()
187 /* Try to set less colors than supported. */ in ZTEST_USER()
188 ret = led_set_color(led_ctrl, led, num_colors - 1, colors); in ZTEST_USER()
190 " colors should fail (%d supported)", in ZTEST_USER()
200 memset(colors, 0, sizeof(colors)); in ZTEST_USER()
203 colors[col] = level; in ZTEST_USER()
[all …]
/Zephyr-latest/samples/drivers/led/lp5562/src/
Dmain.c25 * We assume that the colors are connected the way it is described in the driver
33 * The following colors are shown in the given order.
35 static uint8_t colors[COLORS_TO_SHOW][VALUES_PER_COLOR] = { variable
101 * Currently it is only possible to create colors by turning the three LEDs
186 colors[i][0], in main()
187 colors[i][1], in main()
188 colors[i][2]); in main()
214 colors[i][0], in main()
215 colors[i][1], in main()
216 colors[i][2]); in main()
/Zephyr-latest/samples/drivers/led/is31fl3194/
DREADME.rst5 Cycle colors on an RGB LED connected to the IS31FL3194 using the LED API.
10 This sample cycles several colors on an RGB LED forever using the LED API.
26 After flashing, the LED starts to switch colors and messages with the current
/Zephyr-latest/tests/subsys/shell/shell/src/
Dmain.c81 /* subcommand: colors */ in ZTEST()
82 test_shell_execute_cmd("shell colors -h", 1); in ZTEST()
83 test_shell_execute_cmd("shell colors --help", 1); in ZTEST()
84 test_shell_execute_cmd("shell colors dummy", 1); in ZTEST()
85 test_shell_execute_cmd("shell colors dummy dummy", 1); in ZTEST()
87 test_shell_execute_cmd("shell colors off", 0); in ZTEST()
88 test_shell_execute_cmd("shell colors off -h", 1); in ZTEST()
89 test_shell_execute_cmd("shell colors off --help", 1); in ZTEST()
90 test_shell_execute_cmd("shell colors off dummy", -EINVAL); in ZTEST()
91 test_shell_execute_cmd("shell colors off dummy dummy", -EINVAL); in ZTEST()
[all …]
/Zephyr-latest/subsys/shell/
Dshell_log_backend.c61 bool colors = IS_ENABLED(CONFIG_SHELL_VT100_COLORS) && in z_shell_log_backend_process() local
68 if (colors) { in z_shell_log_backend_process()
75 if (colors) { in z_shell_log_backend_process()
161 bool locked, bool colors) in process_log_msg() argument
169 if (colors) { in process_log_msg()
210 bool colors = IS_ENABLED(CONFIG_SHELL_VT100_COLORS) && in process_msg_from_buffer() local
218 process_log_msg(sh, log_output, msg, false, colors); in process_msg_from_buffer()
232 bool colors = IS_ENABLED(CONFIG_SHELL_VT100_COLORS) && in process() local
239 process_log_msg(sh, log_output, msg, true, colors); in process()
254 process_log_msg(sh, log_output, msg, true, colors); in process()
/Zephyr-latest/dts/bindings/display/
Dsitronix,st7796s.yaml15 Frame rate control (partial mode / full colors). The default value should
22 Frame rate control (idle mode / 8 colors). This property sets the
29 Frame rate control (partial mode / full colors). This property sets the
96 description: When present, inverts display colors
Dsitronix,st7735r.yaml69 description: Frame rate control (normal mode / full colors)
74 description: Frame rate control (idle mode / 8 colors)
79 description: Frame rate control (partial mode / full colors)
/Zephyr-latest/dts/bindings/led/
Dled-controller.yaml24 several colors, then the color-mapping property can be used to
25 describe how the hardware channels and the colors are mapped.
/Zephyr-latest/samples/drivers/led/led_strip/src/
Dmain.c34 static const struct led_rgb colors[] = { variable
60 memcpy(&pixels[cursor], &colors[color], sizeof(struct led_rgb)); in main()
70 color = (color + 1) % ARRAY_SIZE(colors); in main()
/Zephyr-latest/include/zephyr/drivers/
Dvideo-controls.h45 /** Amount of difference between the bright colors and dark colors. */
51 /** Shift in the tint of every colors, clockwise in a RGB color wheel */
75 /** Balance of colors in direction of blue (cold) or red (warm) */
/Zephyr-latest/samples/drivers/led/lp50xx/src/
Dmain.c29 * The following colors are shown in the given order. Each row index is sorted
32 static uint8_t colors[][3] = { variable
55 buf[color] = colors[color_idx][0]; in prepare_color_buffer()
58 buf[color] = colors[color_idx][1]; in prepare_color_buffer()
61 buf[color] = colors[color_idx][2]; in prepare_color_buffer()
93 for (idx = 0; idx < ARRAY_SIZE(colors); idx++) { in run_led_test()
169 for (idx = 0; idx < ARRAY_SIZE(colors); idx++) { in run_channel_test()
173 /* Update LEDs colors. */ in run_channel_test()
300 printk(" - %d colors", info->num_colors); in run_test()
/Zephyr-latest/doc/connectivity/bluetooth/api/audio/img/
Dcap_proc.svg3colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"…
/Zephyr-latest/include/zephyr/dt-bindings/led/
Dled.h9 /* Standard LED colors */
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dicbmsg_memory.svg9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
26 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
43 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
60 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
77 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
94 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
113 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
130 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
147 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
166 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
[all …]
Dicbmsg_message.svg9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
26 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
43 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
60 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
77 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
96 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
113 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
130 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
149 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
166 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
[all …]
Dicbmsg_flows.svg9 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
28 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
48 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
68 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
88 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
105 …<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; tex…
128 …<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-s…
148 …<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-s…
169 …<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-s…
189 …<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-s…
[all …]
/Zephyr-latest/doc/connectivity/networking/conn_mgr/figures/
Dintegration_diagram_detailed.svg3colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"…
Dintegration_diagram_simplified.svg3colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"…
/Zephyr-latest/doc/project/
Drelease_cycle.svg4colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"…
Dlts.svg4colors="color: #330000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div…
/Zephyr-latest/samples/bluetooth/mtu_update/img/
Dmtu.svg3colors="color: rgb(0, 0, 0); "><div style="display: inline-block; font-size: 12px; font-family: He…
/Zephyr-latest/doc/develop/test/figures/
Dtwister_and_pytest.svg4colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;"><…
/Zephyr-latest/doc/hardware/emulator/img/
Ddevice_class_emulator.svg4colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"…
/Zephyr-latest/doc/safety/images/
Dzephyr-safety-process.svg1colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;"><…
DIEC-61508-basis.svg1colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"…

1234