[][src]Function wpilib_sys::bindings::HAL_SetCounterUpSourceEdge

pub unsafe extern "C" fn HAL_SetCounterUpSourceEdge(
    counterHandle: HAL_CounterHandle,
    risingEdge: HAL_Bool,
    fallingEdge: HAL_Bool,
    status: *mut i32
)

Sets the up source to either detect rising edges or falling edges.

Note that both are allowed to be set true at the same time without issues.

@param counterHandle the counter handle @param risingEdge true to trigger on rising @param fallingEdge true to trigger on falling