[−][src]Function wpilib_sys::bindings::HAL_AttachInterruptHandler
pub unsafe extern "C" fn HAL_AttachInterruptHandler(
interruptHandle: HAL_InterruptHandle,
handler: HAL_InterruptHandlerFunction,
param: *mut c_void,
status: *mut i32
)
Attaches an asynchronous interrupt handler to the interrupt.
This interrupt gets called directly on the FPGA interrupt thread, so will block other interrupts while running.
@param interruptHandle the interrupt handle @param handler the handler function for the interrupt to call @param param a parameter to be passed to the handler