int ove_hal_spi_transfer(ove_spi_t spi, const void *tx, void *rx, size_t len, uint64_t timeout_ns)
Full-duplex SPI data transfer.
int ove_hal_spi_transfer_async(ove_spi_t spi, const void *tx, void *rx, size_t len)
Submit an async SPI transfer.
void ove_hal_spi_close(ove_spi_t spi)
Disable and release the SPI peripheral.
void ove_spi_async_complete(ove_spi_t spi, int result)
Completion notification from the HAL.
int ove_hal_spi_open(ove_spi_t spi, const struct ove_spi_cfg *cfg)
Configure and enable the SPI peripheral.
struct ove_spi * ove_spi_t
Opaque handle for an SPI bus controller.
Definition types.h:265
SPI bus configuration descriptor.
Definition spi.h:63