pub unsafe extern "C" fn PXIDEV_SPIWriteRead(
    bytesRead: *mut u32_,
    initialWaitOperation: u64_,
    writeBuffer: *mut PXIDEV_SPIBuffer,
    readBuffer: *mut PXIDEV_SPIBuffer
) -> Result
Expand description

Performs a single card SPI write and read.

§Arguments

  • bytesRead - Pointer to output the number of bytes received to.
  • initialWaitOperation - Wait operation to perform before transferring data.
  • writeBuffer - Buffer to transfer data from.
  • readBuffer - Buffer to receive data to.