Searched refs:bus_mode (Results 1 – 3 of 3) sorted by relevance
40 ((octx->bus_mode & LWSSPIMODE_CPOL) ? in lws_bb_spi_init()53 uint8_t u, inv = !!(ctx->bb_ops.bus_mode & LWSSPIMODE_CPOL); in lws_bb_spi_write()78 uint8_t inv = !!(ctx->bb_ops.bus_mode & LWSSPIMODE_CPOL); in lws_bb_spi_read()102 ctx->gpio->set(ctx->clk, 0 ^ !!(octx->bus_mode & LWSSPIMODE_CPOL)); in lws_bb_spi_queue()124 ctx->gpio->set(ctx->clk, 0 ^ !!(octx->bus_mode & LWSSPIMODE_CPOL)); in lws_bb_spi_queue()
70 uint8_t bus_mode; member
122 .bus_mode = LWS_SPI_BUSMODE_CLK_IDLE_LOW_SAMP_RISING