[][src]Function wpilib_sys::bindings::HAL_GetAnalogVoltage

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

Gets a scaled sample straight from the channel on this module.

The value is scaled to units of Volts using the calibrated scaling data from GetLSBWeight() and GetOffset().

@param analogPortHandle Handle to the analog port to use. @return A scaled sample straight from the channel on this module.