Home
last modified time | relevance | path

Searched refs:RT_SPI_MSB (Results 1 – 7 of 7) sorted by relevance

/components/drivers/spi/
A Ddev_spi_bit_ops.c80 if (config->mode & RT_SPI_MSB) { bit = tx_data & (0x1 << (7 - i)); } in spi_xfer_4line_data8()
90 if (config->mode & RT_SPI_MSB) in spi_xfer_4line_data8()
155 if (config->mode & RT_SPI_MSB) { bit = tx_data & (0x1 << (15 - i)); } in spi_xfer_4line_data16()
165 if (config->mode & RT_SPI_MSB) in spi_xfer_4line_data16()
243 if (config->mode & RT_SPI_MSB) { bit = tx_data & (0x1 << (7 - i)); } in spi_xfer_3line_data8()
271 if (config->mode & RT_SPI_MSB) in spi_xfer_3line_data8()
356 if (config->mode & RT_SPI_MSB) { bit = tx_data & (0x1 << (15 - i)); } in spi_xfer_3line_data16()
384 if (config->mode & RT_SPI_MSB) in spi_xfer_3line_data16()
575 obj->config.mode = RT_SPI_MASTER | RT_SPI_MSB | RT_SPI_MODE_0; in rt_spi_bit_add_bus()
A Ddev_spi_core.c446 if (device->config.mode & RT_SPI_MSB) in rt_spi_sendrecv16()
458 if (device->config.mode & RT_SPI_MSB) in rt_spi_sendrecv16()
A Ddev_spi_msd.c478 cfg.mode = RT_SPI_MODE_0 | RT_SPI_MSB; /* SPI Compatible Modes 0 */ in rt_msd_init()
1189 cfg.mode = RT_SPI_MODE_0 | RT_SPI_MSB; /* SPI Compatible Modes 0 */ in rt_msd_init()
A Ddev_spi_wifi_rw009.c650 cfg.mode = RT_SPI_MODE_0 | RT_SPI_MSB; /* SPI Compatible: Mode 0. */ in rt_hw_wifi_init()
A Ddev_spi_flash_sfud.c28 .mode = RT_SPI_MODE_0 | RT_SPI_MSB, \
A Denc28j60.c776 cfg.mode = RT_SPI_MODE_0 | RT_SPI_MSB; /* SPI Compatible Modes 0 */ in enc28j60_attach()
/components/drivers/include/drivers/
A Ddev_spi.h112 #define RT_SPI_MSB (1<<2) /*!< bit[2]: 1-MSB */ macro
122 #define RT_SPI_MODE_MASK (RT_SPI_CPHA | RT_SPI_CPOL | RT_SPI_MSB | RT_SPI_SLAVE | RT_SPI_CS_HIGH…

Completed in 13 milliseconds