Lines Matching refs:scl
18 ctx->gpio->set(ctx->scl, 1); in lws_bb_i2c_start()
26 ctx->gpio->set(ctx->scl, 0); in lws_bb_i2c_start()
37 ctx->gpio->set(ctx->scl, 1); in lws_bb_i2c_stop()
40 while (!ctx->gpio->read(ctx->scl)) in lws_bb_i2c_stop()
56 ctx->gpio->set(ctx->scl, 1); in lws_bb_i2c_write()
59 ctx->gpio->set(ctx->scl, 0); in lws_bb_i2c_write()
64 ctx->gpio->set(ctx->scl, 1); in lws_bb_i2c_write()
67 ctx->gpio->set(ctx->scl, 0); in lws_bb_i2c_write()
82 ctx->gpio->set(ctx->scl, 0); in lws_bb_i2c_read()
84 ctx->gpio->set(ctx->scl, 1); in lws_bb_i2c_read()
89 ctx->gpio->set(ctx->scl, 0); in lws_bb_i2c_read()
99 ctx->gpio->set(ctx->scl, 0); in lws_bb_i2c_set_ack()
102 ctx->gpio->set(ctx->scl, 1); in lws_bb_i2c_set_ack()
104 ctx->gpio->set(ctx->scl, 0); in lws_bb_i2c_set_ack()