pub unsafe extern "C" fn PXIDEV_SPIMultiWriteRead(
    header: *mut PXIDEV_SPIBuffer,
    writeBuffer1: *mut PXIDEV_SPIBuffer,
    readBuffer1: *mut PXIDEV_SPIBuffer,
    writeBuffer2: *mut PXIDEV_SPIBuffer,
    readBuffer2: *mut PXIDEV_SPIBuffer,
    footer: *mut PXIDEV_SPIBuffer
) -> Result
Expand description

Performs multiple card SPI writes and reads.

§Arguments

  • header - Header to lead the transfers with. Must be, at most, 8 bytes in size.
  • writeBuffer1 - Buffer to make first transfer from.
  • readBuffer1 - Buffer to receive first response to.
  • writeBuffer2 - Buffer to make second transfer from.
  • readBuffer2 - Buffer to receive second response to.
  • footer - Footer to follow the transfers with. Must be, at most, 8 bytes in size. Wait operation is unused.