[][src]Function wpilib_sys::bindings::HAL_SetCounterSemiPeriodMode

pub unsafe extern "C" fn HAL_SetCounterSemiPeriodMode(
    counterHandle: HAL_CounterHandle,
    highSemiPeriod: HAL_Bool,
    status: *mut i32
)

Sets Semi-period mode on this counter.

The counter counts up based on the time the input is triggered. High or Low depends on the highSemiPeriod parameter.

@param counterHandle the counter handle @param highSemiPeriod true for counting when the input is high, false for low