void board_spi_close()
Close the SPI interface.
bool board_spi_write(const uint8_t *buf, size_t len)
Write to an SPI device.
bool board_spi_read(uint8_t *buf, size_t len)
Read from an SPI device.
void board_spi_open(uint32_t bit_rate, uint32_t clk_pin)
Initialize the SPI interface.
void board_spi_flush()
Clear data from the SPI interface.