Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
led_fake.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2026 Henrik Brix Andersen <henrik@brixandersen.dk>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11
12#ifndef ZEPHYR_INCLUDE_DRIVERS_LED_LED_FAKE_H_
13#define ZEPHYR_INCLUDE_DRIVERS_LED_LED_FAKE_H_
14
15#include <zephyr/drivers/led.h>
16#include <zephyr/fff.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
29
36
43
50
57
64 const struct led_info **);
65
72 const uint8_t *);
73
80 const uint8_t *);
81
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif /* ZEPHYR_INCLUDE_DRIVERS_LED_LED_FAKE_H_ */
Main header file for LED driver API.
#define DECLARE_FAKE_VALUE_FUNC(...)
Definition fff.h:8684
int fake_led_blink(const struct device *arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3)
int fake_led_get_info(const struct device *arg0, uint32_t arg1, const struct led_info **arg2)
int fake_led_set_color(const struct device *arg0, uint32_t arg1, uint8_t arg2, const uint8_t *arg3)
int fake_led_write_channels(const struct device *arg0, uint32_t arg1, uint32_t arg2, const uint8_t *arg3)
int fake_led_set_brightness(const struct device *arg0, uint32_t arg1, uint8_t arg2)
int fake_led_off(const struct device *arg0, uint32_t arg1)
int fake_led_on(const struct device *arg0, uint32_t arg1)
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:513
LED information structure.
Definition led.h:44