| 
    libwebsockets
    
   Lightweight C library for HTML5 websockets 
   | 
 
#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 | 
Typedefs | |
| typedef struct lws_i2c_ops | lws_i2c_ops_t | 
Functions | |
| 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) | 
| struct lws_i2c_ops | 
 Collaboration diagram for lws_i2c_ops:| Data Fields | ||
|---|---|---|
| int(*)(const struct lws_i2c_ops *ctx) | init | |
| int(*)(const struct lws_i2c_ops *ctx) | start | |
| void(*)(const struct lws_i2c_ops *ctx) | stop | |
| int(*)(const struct lws_i2c_ops *ctx, uint8_t data) | write | |
| int(*)(const struct lws_i2c_ops *ctx) | read | |
| void(*)(const struct lws_i2c_ops *octx, int ack) | set_ack | |
| 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 ) | 
References LWS_EXTERN, and LWS_VISIBLE.
| 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 ) |