[−][src]Function wpilib_sys::bindings::HAL_GetAnalogOffset
pub unsafe extern "C" fn HAL_GetAnalogOffset(
analogPortHandle: HAL_AnalogInputHandle,
status: *mut i32
) -> i32
Gets the factory scaling offset constant. The offset 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 Offset constant.