[][src]Function wpilib_sys::bindings::HAL_GetEncoderStopped

pub unsafe extern "C" fn HAL_GetEncoderStopped(
    encoderHandle: HAL_EncoderHandle,
    status: *mut i32
) -> HAL_Bool

Determines if the clock is stopped.

Determines 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 encoder) are assumed to be stopped and it returns true.

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