Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/led/lp50xx/src/
Dmain.c79 static int run_led_test(const struct device *lp50xx_dev, uint8_t led) in run_led_test() argument
87 err = led_get_info(lp50xx_dev, led, &info); in run_led_test()
104 err = led_set_color(lp50xx_dev, led, 3, buf); in run_led_test()
114 err = led_on(lp50xx_dev, led); in run_led_test()
122 err = led_off(lp50xx_dev, led); in run_led_test()
131 err = led_set_brightness(lp50xx_dev, led, level); in run_led_test()
142 err = led_off(lp50xx_dev, led); in run_led_test()
158 static int run_channel_test(const struct device *lp50xx_dev, in run_channel_test() argument
179 err = led_get_info(lp50xx_dev, led, &info); in run_channel_test()
193 err = led_write_channels(lp50xx_dev, color_chan, in run_channel_test()
[all …]