HAL_GetEncoder

Function HAL_GetEncoder 

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

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