[][src]Function wpilib_sys::bindings::HAL_GetEncoder

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

Gets the current counts of the encoder after encoding type scaling.

This is scaled by the value passed duing initialization to encodingType.

@param encoderHandle the encoder handle @return the current scaled count