58 size_t len, uint32_t timeout_ms);
void ove_hal_spi_close(ove_spi_t spi)
Disable and release the SPI peripheral.
int ove_hal_spi_transfer(ove_spi_t spi, const void *tx, void *rx, size_t len, uint32_t timeout_ms)
Full-duplex SPI data transfer.
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:139
SPI bus configuration descriptor.
Definition spi.h:60