[][src]Function wpilib_sys::bindings::HAL_StartSPIAutoTrigger

pub unsafe extern "C" fn HAL_StartSPIAutoTrigger(
    port: Type,
    digitalSourceHandle: HAL_Handle,
    analogTriggerType: Type,
    triggerRising: HAL_Bool,
    triggerFalling: HAL_Bool,
    status: *mut i32
)

Starts the auto SPI accumulator on a specific trigger.

Note that triggering on both rising and falling edges is a valid configuration.

@param port The number of the port to use. 0-3 for Onboard CS0-CS2, 4 for MXP. @param digitalSourceHandle The trigger source to use (Either HAL_AnalogTriggerHandle or HAL_DigitalHandle). @param analogTriggerType The analog trigger type, if the source is an analog trigger. @param triggerRising Trigger on the rising edge if true. @param triggerFalling Trigger on the falling edge if true.