Function wpilib_sys::bindings::HAL_SetInterruptUpSourceEdge
source · pub unsafe extern "C" fn HAL_SetInterruptUpSourceEdge(
interruptHandle: HAL_InterruptHandle,
risingEdge: HAL_Bool,
fallingEdge: HAL_Bool,
status: *mut i32
)Expand description
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