bool_t spi_lock(struct spi_periph *p, uint8_t slave)
Lock the SPI fifo.
SPI transaction structure.
Architecture independent SPI (Serial Peripheral Interface) API.
SPI peripheral structure.
void spi_slave_unselect(uint8_t slave)
Unselect a slave.
bool_t spi_submit(struct spi_periph *p, struct spi_transaction *t)
Submit a spi transaction.
bool_t spi_resume(struct spi_periph *p, uint8_t slave)
Resume the SPI fifo.
void spi_init_slaves(void)
Initialize all used slaves and unselect them.
void spi_slave_select(uint8_t slave)
Select a slave.