libwebsockets
Lightweight C library for HTML5 websockets
lws_i2c_ops Struct Reference

#include <lws-i2c.h>

+ Collaboration diagram for lws_i2c_ops:

Data Fields

int(* init )(const struct lws_i2c_ops *ctx)
 
int(* start )(const struct lws_i2c_ops *ctx)
 
void(* stop )(const struct lws_i2c_ops *ctx)
 
int(* write )(const struct lws_i2c_ops *ctx, uint8_t data)
 
int(* read )(const struct lws_i2c_ops *ctx)
 
void(* set_ack )(const struct lws_i2c_ops *octx, int ack)
 

Detailed Description

Definition at line 34 of file lws-i2c.h.

Field Documentation

◆ init

int(* lws_i2c_ops::init) (const struct lws_i2c_ops *ctx)

Definition at line 35 of file lws-i2c.h.

◆ start

int(* lws_i2c_ops::start) (const struct lws_i2c_ops *ctx)

Definition at line 36 of file lws-i2c.h.

◆ stop

void(* lws_i2c_ops::stop) (const struct lws_i2c_ops *ctx)

Definition at line 37 of file lws-i2c.h.

◆ write

int(* lws_i2c_ops::write) (const struct lws_i2c_ops *ctx, uint8_t data)

Definition at line 38 of file lws-i2c.h.

◆ read

int(* lws_i2c_ops::read) (const struct lws_i2c_ops *ctx)

Definition at line 39 of file lws-i2c.h.

◆ set_ack

void(* lws_i2c_ops::set_ack) (const struct lws_i2c_ops *octx, int ack)

Definition at line 40 of file lws-i2c.h.


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