[][src]Function wpilib_sys::bindings::HAL_SetSPISpeed

pub unsafe extern "C" fn HAL_SetSPISpeed(port: Type, speed: i32)

Sets the clock speed for the SPI bus.

@param port The number of the port to use. 0-3 for Onboard CS0-CS2, 4 for MXP @param speed The speed in Hz (0-1MHz)