Lines Matching +full:host +full:- +full:int +full:- +full:gpios
4 * SPDX-License-Identifier: Apache-2.0
29 typedef int (*bt_spi_transceive_fun)(void *tx, uint32_t tx_len, void *rx, uint32_t rx_len);
40 typedef int (*spi_transmit_fun)(uint8_t *data, uint16_t len);
45 * The devices mainly include the required gpio (e.g. reset-gpios,
46 * irq-gpios).
50 int bt_apollo_dev_init(void);
53 * @brief Send the packets to BLE controller from host via SPI.
61 int bt_apollo_spi_send(uint8_t *data, uint16_t len, bt_spi_transceive_fun transceive);
64 * @brief Receive the packets sent from BLE controller to host via SPI.
72 int bt_apollo_spi_rcv(uint8_t *data, uint16_t *len, bt_spi_transceive_fun transceive);
82 int bt_apollo_controller_init(spi_transmit_fun transmit);
89 int bt_apollo_controller_deinit(void);
97 int bt_apollo_vnd_setup(void);