|
Example Application 1.0.0
A Zephyr-based example application
|
Blink driver class operations. More...
#include <blink.h>
Data Fields | |
| int(* | set_period_ms )(const struct device *dev, unsigned int period_ms) |
| Configure the LED blink period. | |
Blink driver class operations.
| int(* blink_driver_api::set_period_ms) (const struct device *dev, unsigned int period_ms) |
Configure the LED blink period.
| dev | Blink device instance. |
| period_ms | Period of the LED blink in milliseconds, 0 to disable blinking. |
| 0 | if successful. |
| -EINVAL | if period_ms can not be set. |
| -errno | Other negative errno code on failure. |