[][src]Function wpilib_sys::bindings::HAL_GetCounterSamplesToAverage

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

Gets the Samples to Average which specifies the number of samples of the timer to average when calculating the period. Perform averaging to account for mechanical imperfections or as oversampling to increase resolution.

@param counterHandle the counter handle @return SamplesToAverage The number of samples being averaged (from 1 to 127)