Lightweight C library for HTML5 websockets
lws_gpio_ops Struct Reference

#include <lws-gpio.h>

+ Collaboration diagram for lws_gpio_ops:

Data Fields

void(* mode )(_lws_plat_gpio_t gpio, int flags)
int(* read )(_lws_plat_gpio_t gpio)
void(* set )(_lws_plat_gpio_t gpio, int val)
int(* irq_mode )(_lws_plat_gpio_t gpio, lws_gpio_irq_t irq, lws_gpio_irq_cb_t cb, void *arg)

Detailed Description

Definition at line 52 of file lws-gpio.h.

Field Documentation

◆ mode

void(* lws_gpio_ops::mode) (_lws_plat_gpio_t gpio, int flags)

Definition at line 53 of file lws-gpio.h.

◆ read

int(* lws_gpio_ops::read) (_lws_plat_gpio_t gpio)

Definition at line 54 of file lws-gpio.h.

◆ set

void(* lws_gpio_ops::set) (_lws_plat_gpio_t gpio, int val)

Definition at line 55 of file lws-gpio.h.

◆ irq_mode

int(* lws_gpio_ops::irq_mode) (_lws_plat_gpio_t gpio, lws_gpio_irq_t irq, lws_gpio_irq_cb_t cb, void *arg)

Definition at line 56 of file lws-gpio.h.

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