[][src]Function wpilib_sys::bindings::HAL_GetAnalogAverageBits

pub unsafe extern "C" fn HAL_GetAnalogAverageBits(
    analogPortHandle: HAL_AnalogInputHandle,
    status: *mut i32
) -> i32

Gets the number of averaging bits.

This gets the number of averaging bits from the FPGA. The actual number of averaged samples is 2**bits. The averaging is done automatically in the FPGA.

@param analogPortHandle Handle to the analog port to use. @return Bits to average.