pub unsafe extern "C" fn spi_transfer_byte(
    bus: spi_t,
    cs: spi_cs_t,
    cont: bool,
    out: u8
) -> u8
Expand description

@brief Transfer one byte on the given SPI bus

@param[in] bus SPI device to use @param[in] cs chip select pin/line to use, set to SPI_CS_UNDEF if chip select should not be handled by the SPI driver @param[in] cont if true, keep device selected after transfer @param[in] out byte to send out

@return the received byte