Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
leds.h
Go to the documentation of this file.
1
12
13#ifndef INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_LEDS_H_
14#define INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_LEDS_H_
15
16#include <zephyr/device.h>
17#include <zephyr/drivers/gpio.h>
18#include <zephyr/drivers/led.h>
19#include <zephyr/sys/util.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
30
31enum {
33};
34
45int infuse_validation_leds_gpio(const struct gpio_dt_spec *leds, uint8_t num_leds, uint8_t flags);
46
57int infuse_validation_leds_controller(const struct led_dt_spec *leds, uint8_t num_leds,
58 uint8_t flags);
59
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif /* INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_LEDS_H_ */
int infuse_validation_leds_gpio(const struct gpio_dt_spec *leds, uint8_t num_leds, uint8_t flags)
Validate GPIO LED devices.
int infuse_validation_leds_controller(const struct led_dt_spec *leds, uint8_t num_leds, uint8_t flags)
Validate LED devices.
@ VALIDATION_LEDS_OBSERVE_ONLY
Definition leds.h:32