[][src]Function wpilib_sys::bindings::HAL_GetAnalogOversampleBits

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

Gets the number of oversample bits.

This gets the number of oversample bits from the FPGA. The actual number of oversampled values is 2**bits. The oversampling is done automatically in the FPGA.

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