VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
switch.h File Reference
#include "vlcb/platform/time.h"
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for switch.h:

Go to the source code of this file.

Data Structures

struct  VlcbPlatformSwitchDriver
 

Typedefs

typedef VlcbPlatformSwitchState(* VlcbPlatformSwitchStatusResolver) (void)
 

Enumerations

enum  VlcbPlatformSwitchState { VLCB_PLATFORM_SWITCH_RELEASED , VLCB_PLATFORM_SWITCH_PRESSED }
 

Functions

VlcbPlatformSwitchDriver vlcb_platform_switch_New (VlcbPlatformSwitchStatusResolver resolver)
 

Typedef Documentation

◆ VlcbPlatformSwitchStatusResolver

typedef VlcbPlatformSwitchState(* VlcbPlatformSwitchStatusResolver) (void)

Definition at line 12 of file switch.h.

Enumeration Type Documentation

◆ VlcbPlatformSwitchState

Enumerator
VLCB_PLATFORM_SWITCH_RELEASED 
VLCB_PLATFORM_SWITCH_PRESSED 

Definition at line 7 of file switch.h.

Function Documentation

◆ vlcb_platform_switch_New()

VlcbPlatformSwitchDriver vlcb_platform_switch_New ( VlcbPlatformSwitchStatusResolver resolver)