[][src]Function mraa_sys::mraa_i2c_read_byte_data

pub unsafe extern "C" fn mraa_i2c_read_byte_data(
    dev: mraa_i2c_context,
    command: u8
) -> c_int

Read a single byte from i2c context, from designated register

@param dev The i2c context @param command The register @return The result of the read or -1 if failed