Searched refs:LWSSPIMODE_CPOL (Results 1 – 2 of 2) sorted by relevance
40 LWSSPIMODE_CPOL = (1 << 0), enumerator44 LWS_SPI_BUSMODE_CLK_IDLE_HIGH_SAMP_RISING = LWSSPIMODE_CPOL,47 LWSSPIMODE_CPOL,
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()