[][src]Function mraa_sys::mraa_i2c_write_word_data

pub unsafe extern "C" fn mraa_i2c_write_word_data(
    dev: mraa_i2c_context,
    data: u16,
    command: u8
) -> mraa_result_t

Write a single word to an i2c context

@param dev The i2c context @param data The word to write @param command The register @return Result of operation