|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
#include <stdint.h>#include <zephyr/toolchain.h>Go to the source code of this file.
Data Structures | |
| struct | lp581x_animation_pattern |
| LED pattern configuration. More... | |
| struct | lp581x_animation_engine_config |
| Configuration of a single engine. More... | |
| struct | lp581x_animation_engines_config |
| Configuration of all engines. More... | |
Macros | |
| #define | LP581X_MAX_LEDS 4 |
| Maximum number of LED channels. | |
| #define | LP581X_PATTERN_PLAY_FOREVER 0xF |
| Repeat the pattern forever. | |
Functions | |
| int | lp581x_animation_pattern_program (const struct device *dev, uint8_t pattern_idx, const struct lp581x_animation_pattern *pattern) |
| Program an animation pattern to the LP581X. | |
| int | lp581x_animation_engines_configure (const struct device *dev, const struct lp581x_animation_engines_config *config) |
| Configure LP581X animation engines. | |
| int | lp581x_animation_start (const struct device *dev, uint8_t led_bitmask) |
| Start animations. | |
| int | lp581x_animation_stop (const struct device *dev) |
| Stop animations. | |
SPDX-License-Identifier: Apache-2.0