Zephyr API Documentation 4.5.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Fake LED controller driver API functions. More...

#include <zephyr/drivers/led.h>
#include <zephyr/fff.h>

Go to the source code of this file.

Functions

int fake_led_on (const struct device *, uint32_t)
 Fake implementation of the led_driver_api::on driver operation.
int fake_led_off (const struct device *, uint32_t)
 Fake implementation of the led_driver_api::off driver operation.
int fake_led_set_brightness (const struct device *, uint32_t, uint8_t)
 Fake implementation of the led_driver_api::set_brightness driver operation.
int fake_led_blink (const struct device *, uint32_t, uint32_t, uint32_t)
 Fake implementation of the led_driver_api::blink driver operation.
int fake_led_get_info (const struct device *, uint32_t, const struct led_info **)
 Fake implementation of the led_driver_api::get_info driver operation.
int fake_led_set_color (const struct device *, uint32_t, uint8_t, const uint8_t *)
 Fake implementation of the led_driver_api::set_color driver operation.
int fake_led_write_channels (const struct device *, uint32_t, uint32_t, const uint8_t *)
 Fake implementation of the led_driver_api::write_channels driver operation.

Detailed Description

Fake LED controller driver API functions.