Lightweight C library for HTML5 websockets
lws-i2c.h File Reference
#include <stdint.h>
#include <stddef.h>
+ Include dependency graph for lws-i2c.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lws_i2c_ops


typedef struct lws_i2c_ops lws_i2c_ops_t


LWS_VISIBLE LWS_EXTERN int lws_i2c_command (const lws_i2c_ops_t *ctx, uint8_t ads7, uint8_t c)
LWS_VISIBLE LWS_EXTERN int lws_i2c_command_list (const lws_i2c_ops_t *ctx, uint8_t ads7, const uint8_t *buf, size_t len)

Typedef Documentation

◆ lws_i2c_ops_t

typedef struct lws_i2c_ops lws_i2c_ops_t

Function Documentation

◆ lws_i2c_command()

LWS_VISIBLE LWS_EXTERN int lws_i2c_command ( const lws_i2c_ops_t ctx,
uint8_t  ads7,
uint8_t  c 

◆ lws_i2c_command_list()

LWS_VISIBLE LWS_EXTERN int lws_i2c_command_list ( const lws_i2c_ops_t ctx,
uint8_t  ads7,
const uint8_t *  buf,
size_t  len