Searched refs:lws_i2c_ops (Results 1 – 2 of 2) sorted by relevance
34 typedef struct lws_i2c_ops { struct35 int (*init)(const struct lws_i2c_ops *ctx); argument36 int (*start)(const struct lws_i2c_ops *ctx); argument37 void (*stop)(const struct lws_i2c_ops *ctx); argument38 int (*write)(const struct lws_i2c_ops *ctx, uint8_t data); argument39 int (*read)(const struct lws_i2c_ops *ctx); argument40 void (*set_ack)(const struct lws_i2c_ops *octx, int ack); argument
20 typedef struct lws_i2c_ops { struct21 int (*start)(struct lws_i2c_ops *ctx); argument22 void (*stop)(struct lws_i2c_ops *ctx); argument23 int (*write)(struct lws_i2c_ops *ctx, uint8_t data); argument24 int (*read)(struct lws_i2c_ops *ctx); argument25 void (*set_ack)(struct lws_i2c_ops *octx, int ack); argument