[][src]Function wpilib_sys::bindings::HAL_SetCounterMaxPeriod

pub unsafe extern "C" fn HAL_SetCounterMaxPeriod(
    counterHandle: HAL_CounterHandle,
    maxPeriod: f64,
    status: *mut i32
)

Sets the maximum period where the device is still considered "moving".

Sets the maximum period where the device is considered moving. This value is used to determine the "stopped" state of the counter using the HAL_GetCounterStopped method.

@param counterHandle the counter handle @param maxPeriod the maximum period where the counted device is considered moving in seconds