2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
28#if !defined(__LWS_I2C_H__)
44
45
47LWS_VISIBLE LWS_EXTERN
int
50LWS_VISIBLE LWS_EXTERN
int
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)
int(* write)(const struct lws_i2c_ops *ctx, uint8_t data)
void(* set_ack)(const struct lws_i2c_ops *octx, int ack)
int(* init)(const struct lws_i2c_ops *ctx)
void(* stop)(const struct lws_i2c_ops *ctx)
int(* start)(const struct lws_i2c_ops *ctx)
int(* read)(const struct lws_i2c_ops *ctx)