Home
last modified time | relevance | path

Searched refs:led_color (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/samples/boards/google/twinkie_v2/pda/src/
Dview.c19 static void set_led(const struct device *const led, enum led_color_t led_color) in set_led() argument
21 if (led_color != LED_RED) { in set_led()
24 if (led_color != LED_GREEN) { in set_led()
27 if (led_color != LED_BLUE) { in set_led()
30 led_on(led, led_color); in set_led()
/Zephyr-latest/samples/sensor/grow_r502a/src/
Dmain.c87 uint8_t led_color = R502A_LED_COLOR_PURPLE; in r502a_led() local
100 ret = led_set_color(led_dev, led_num, led_color_a_inst, &led_color); in r502a_led()
/Zephyr-latest/drivers/sensor/grow_r502a/
Dgrow_r502a.h222 uint8_t led_color; member
Dgrow_r502a.c1191 drv_data->led_color = *color; in grow_r502a_led_set_color()
1200 if (!drv_data->led_color) { in grow_r502a_led_on()
1201 drv_data->led_color = R502A_LED_COLOR_BLUE; in grow_r502a_led_on()
1206 .color_idx = drv_data->led_color, in grow_r502a_led_on()