libwebsockets
Lightweight C library for HTML5 websockets
lws-gpio.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lws_gpio_ops
 

Typedefs

typedef int _lws_plat_gpio_t
 
typedef void(* lws_gpio_irq_cb_t) (void *arg)
 
typedef struct lws_gpio_ops lws_gpio_ops_t
 

Enumerations

enum  lws_gpio_irq_t {
  LWSGGPIO_IRQ_NONE , LWSGGPIO_IRQ_RISING , LWSGGPIO_IRQ_FALLING , LWSGGPIO_IRQ_CHANGE ,
  LWSGGPIO_IRQ_LOW , LWSGGPIO_IRQ_HIGH
}
 
enum  {
  LWSGGPIO_FL_READ = (1 << 0) , LWSGGPIO_FL_WRITE = (1 << 1) , LWSGGPIO_FL_PULLUP = (1 << 2) , LWSGGPIO_FL_PULLDOWN = (1 << 3) ,
  LWSGGPIO_FL_START_LOW = (1 << 4)
}
 

Typedef Documentation

◆ _lws_plat_gpio_t

typedef int _lws_plat_gpio_t

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

◆ lws_gpio_irq_cb_t

typedef void(* lws_gpio_irq_cb_t) (void *arg)

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

◆ lws_gpio_ops_t

typedef struct lws_gpio_ops lws_gpio_ops_t

Enumeration Type Documentation

◆ lws_gpio_irq_t

Enumerator
LWSGGPIO_IRQ_NONE 
LWSGGPIO_IRQ_RISING 
LWSGGPIO_IRQ_FALLING 
LWSGGPIO_IRQ_CHANGE 
LWSGGPIO_IRQ_LOW 
LWSGGPIO_IRQ_HIGH 

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

33 {
lws_gpio_irq_t
Definition: lws-gpio.h:33
@ LWSGGPIO_IRQ_FALLING
Definition: lws-gpio.h:36
@ LWSGGPIO_IRQ_RISING
Definition: lws-gpio.h:35
@ LWSGGPIO_IRQ_LOW
Definition: lws-gpio.h:38
@ LWSGGPIO_IRQ_NONE
Definition: lws-gpio.h:34
@ LWSGGPIO_IRQ_HIGH
Definition: lws-gpio.h:39
@ LWSGGPIO_IRQ_CHANGE
Definition: lws-gpio.h:37

◆ anonymous enum

anonymous enum
Enumerator
LWSGGPIO_FL_READ 
LWSGGPIO_FL_WRITE 
LWSGGPIO_FL_PULLUP 
LWSGGPIO_FL_PULLDOWN 
LWSGGPIO_FL_START_LOW 

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

42 {
43 LWSGGPIO_FL_READ = (1 << 0),
44 LWSGGPIO_FL_WRITE = (1 << 1),
45 LWSGGPIO_FL_PULLUP = (1 << 2),
46 LWSGGPIO_FL_PULLDOWN = (1 << 3),
47 LWSGGPIO_FL_START_LOW = (1 << 4),
48};
@ LWSGGPIO_FL_READ
Definition: lws-gpio.h:43
@ LWSGGPIO_FL_PULLUP
Definition: lws-gpio.h:45
@ LWSGGPIO_FL_START_LOW
Definition: lws-gpio.h:47
@ LWSGGPIO_FL_PULLDOWN
Definition: lws-gpio.h:46
@ LWSGGPIO_FL_WRITE
Definition: lws-gpio.h:44