[][src]Function wpilib_sys::bindings::HAL_SetSPIAutoTransmitData

pub unsafe extern "C" fn HAL_SetSPIAutoTransmitData(
    port: Type,
    dataToSend: *const u8,
    dataSize: i32,
    zeroSize: i32,
    status: *mut i32
)

Sets the data to be transmitted to the device to initiate a read.

@param port The number of the port to use. 0-3 for Onboard CS0-CS2, 4 for MXP. @param dataToSend Pointer to the data to send (Gets copied for continue use, so no need to keep alive). @param dataSize The length of the data to send. @param zeroSize The number of zeros to send after the data.