[][src]Function wpilib_sys::bindings::HAL_SetInterruptUpSourceEdge

pub unsafe extern "C" fn HAL_SetInterruptUpSourceEdge(
    interruptHandle: HAL_InterruptHandle,
    risingEdge: HAL_Bool,
    fallingEdge: HAL_Bool,
    status: *mut i32
)

Sets the edges to trigger the interrupt on.

Note that both edges triggered is a valid configuration.

@param interruptHandle the interrupt handle @param risingEdge true for triggering on rising edge @param fallingEdge true for triggering on falling edge