[][src]Function wpilib_sys::bindings::HAL_WaitForInterrupt

pub unsafe extern "C" fn HAL_WaitForInterrupt(
    interruptHandle: HAL_InterruptHandle,
    timeout: f64,
    ignorePrevious: HAL_Bool,
    status: *mut i32
) -> i64

In synchronous mode, waits for the defined interrupt to occur.

@param interruptHandle the interrupt handle @param timeout timeout in seconds @param ignorePrevious if true, ignore interrupts that happened before waitForInterrupt was called @return the mask of interrupts that fired