pub unsafe extern "C" fn spi_transfer_bytes(
bus: spi_t,
cs: spi_cs_t,
cont: bool,
out: *const c_void,
in_: *mut c_void,
len: size_t,
)
Expand description
@brief Transfer a number bytes using 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 buffer to send data from, set NULL if only receiving @param[out] in buffer to read into, set NULL if only sending @param[in] len number of bytes to transfer