HAL_GetEncoderDirection

Function HAL_GetEncoderDirection 

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

Gets the last direction the encoder value changed.

@param encoderHandle the encoder handle @return the last direction the encoder value changed