Home
last modified time | relevance | path

Searched refs:RT_SPI_CPOL (Results 1 – 3 of 3) sorted by relevance

/components/drivers/include/drivers/
A Ddev_spi.h109 #define RT_SPI_CPOL (1<<1) /*!< bit[1]:CPOL, clock polarity */ macro
122 #define RT_SPI_MODE_MASK (RT_SPI_CPHA | RT_SPI_CPOL | RT_SPI_MSB | RT_SPI_SLAVE | RT_SPI_CS_HIGH…
126 #define RT_SPI_MODE_2 (RT_SPI_CPOL | 0) /*!< CPOL = 1, CPHA = 0 */
127 #define RT_SPI_MODE_3 (RT_SPI_CPOL | RT_SPI_CPHA) /*!< CPOL = 1, CPHA = 1 */
/components/drivers/spi/
A Ddev_spi_dm.c52 conf->mode |= RT_SPI_CPOL; in spi_device_ofw_parse()
A Ddev_spi_bit_ops.c445 if (configuration->mode & RT_SPI_CPOL) in spi_bit_configure()
541 if ((config->mode & RT_SPI_CPOL) && !GET_SCLK(ops)) in spi_bit_xfer()

Completed in 5 milliseconds