Function uugear_ffi::analogReference[][src]

pub unsafe extern "C" fn analogReference(dev: *mut UUGearDevice, type_: c_int)

Configures the reference voltage used for analog input (i.e. the value used as the top of the input range)

parameters: dev is the pointer of the device struct type is the reference type: 0 - DEFAULT 1 - EXTERNAL