[][src]Function wpilib_sys::bindings::HAL_GetAnalogLSBWeight

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

Gets the factory scaling least significant bit weight constant. The least significant bit weight constant for the channel that was calibrated in manufacturing and stored in an eeprom in the module.

Volts = ((LSB_Weight * 1e-9) * raw) - (Offset * 1e-9)

@param analogPortHandle Handle to the analog port to use. @return Least significant bit weight.