libwebsockets
Lightweight C library for HTML5 websockets
lws_led_ops Struct Reference

#include <lws-led.h>

+ Collaboration diagram for lws_led_ops:

Data Fields

void(* intensity )(const struct lws_led_ops *lo, const char *name, lws_led_intensity_t inten)
 
struct lws_led_state *(* create )(const struct lws_led_ops *led_ops)
 
void(* destroy )(struct lws_led_state *)
 

Detailed Description

Definition at line 80 of file lws-led.h.

Field Documentation

◆ intensity

void(* lws_led_ops::intensity) (const struct lws_led_ops *lo, const char *name, lws_led_intensity_t inten)

for BOOL led control like GPIO, only inten b15 is significant

Definition at line 81 of file lws-led.h.

◆ create

struct lws_led_state*(* lws_led_ops::create) (const struct lws_led_ops *led_ops)

Definition at line 81 of file lws-led.h.

◆ destroy

void(* lws_led_ops::destroy) (struct lws_led_state *)

Definition at line 85 of file lws-led.h.


The documentation for this struct was generated from the following file: