40 #define lws_bb_i2c_ops \
42 .init = lws_bb_i2c_init, \
43 .start = lws_bb_i2c_start, \
44 .stop = lws_bb_i2c_stop, \
45 .write = lws_bb_i2c_write, \
46 .read = lws_bb_i2c_read, \
47 .set_ack = lws_bb_i2c_set_ack, \
struct lws_bb_i2c lws_bb_i2c_t
int lws_bb_i2c_init(const lws_i2c_ops_t *octx)
int lws_bb_i2c_write(const lws_i2c_ops_t *octx, uint8_t data)
void lws_bb_i2c_stop(const lws_i2c_ops_t *octx)
void lws_bb_i2c_set_ack(const lws_i2c_ops_t *octx, int ack)
int lws_bb_i2c_start(const lws_i2c_ops_t *octx)
int lws_bb_i2c_read(const lws_i2c_ops_t *octx)
const lws_gpio_ops_t * gpio