[][src]Function mraa_sys::mraa_aio_set_bit

pub unsafe extern "C" fn mraa_aio_set_bit(
    dev: mraa_aio_context,
    bits: c_int
) -> mraa_result_t

Set the bit value which mraa will shift the raw reading from the ADC to. I.e. 10bits @param dev the analog input context @param bits the bits the return from read should be i.e 10

@return mraa result type