VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
inc/vlcb/platform/driver/led.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4#include <stdbool.h>
5
7
12
13typedef struct {
14 uint16_t hz;
16
17typedef struct {
18 uint32_t durationMs;
20
25
34
37
42
45
53
VlcbPlatformLedEffect vlcb_platform_led_fx_Blink(uint16_t hz)
Definition led.c:4
VlcbPlatformLedEffect vlcb_platform_led_fx_Pulse(uint32_t duration_ms)
Definition led.c:6
void(* VlcbPlatformLedStatusChangeHandler)(void)
VlcbPlatformLedState(* VlcbPlatformLedStatusResolver)(void)
VlcbPlatformLedDriver vlcb_platform_led_New(VlcbPlatformLedStatusResolver resolver, VlcbPlatformLedStatusChangeHandler changeHandler)
Definition led.c:8
@ VLCB_PLATFORM_LED_FX_BLINK
VlcbPlatformLedStatusResolver statusResolver
VlcbPlatformLedStatusChangeHandler statusChangeHandler
VlcbPlatformLedEffectType type
VlcbPlatformLedEffectData data
VlcbPlatformLedEffectDataPulse pulse
VlcbPlatformLedEffectDataBlink blink