[][src]Function wpilib_sys::bindings::HAL_GetCounterStopped

pub unsafe extern "C" fn HAL_GetCounterStopped(
    counterHandle: HAL_CounterHandle,
    status: *mut i32
) -> HAL_Bool

Determines if the clock is stopped.

Determine if the clocked input is stopped based on the MaxPeriod value set using the SetMaxPeriod method. If the clock exceeds the MaxPeriod, then the device (and counter) are assumed to be stopped and it returns true.

@param counterHandle the counter handle @return true if the most recent counter period exceeds the MaxPeriod value set by SetMaxPeriod