[−][src]Function wpilib_sys::bindings::HAL_SetSPIOpts
pub unsafe extern "C" fn HAL_SetSPIOpts(
port: Type,
msbFirst: HAL_Bool,
sampleOnTrailing: HAL_Bool,
clkIdleHigh: HAL_Bool
)
Sets the SPI options.
@param port The number of the port to use. 0-3 for Onboard CS0-CS2, 4 for MXP @param msbFirst True to write the MSB first, False for LSB first @param sampleOnTrailing True to sample on the trailing edge, False to sample on the leading edge @param clkIdleHigh True to set the clock to active low, False to set the clock active high