Searched refs:spi_hci_dev (Results 1 – 1 of 1) sorted by relevance
| /samples/bluetooth/hci_spi/src/ |
| A D | main.c | 86 static const struct device *const spi_hci_dev = DEVICE_DT_GET(DT_BUS(HCI_SPI_NODE)); variable 129 ret = spi_transceive(spi_hci_dev, &spi_cfg, &tx_bufs, &rx_bufs); in spi_send() 138 ret = spi_write(spi_hci_dev, &spi_cfg, &tx_bufs); in spi_send() 177 ret = spi_transceive(spi_hci_dev, &spi_cfg, in bt_tx_thread() 198 ret = spi_transceive(spi_hci_dev, &spi_cfg, in bt_tx_thread() 253 if (!device_is_ready(spi_hci_dev)) { in hci_spi_init() 254 LOG_ERR("SPI bus %s is not ready", spi_hci_dev->name); in hci_spi_init()
|
Completed in 9 milliseconds