Function flipper0::ffi::furi_hal_spi_bus_trx
source · pub unsafe extern "C" fn furi_hal_spi_bus_trx(
handle: *mut FuriHalSpiBusHandle,
tx_buffer: *mut u8,
rx_buffer: *mut u8,
size: usize,
timeout: u32
) -> bool
Expand description
SPI Transmit and Receive
@param handle pointer to FuriHalSpiBusHandle instance @param tx_buffer pointer to tx buffer @param rx_buffer pointer to rx buffer @param size transaction size (buffer size) @param timeout operation timeout in ms
@return true on success