[][src]Function mraa_sys::mraa_i2c_frequency

pub unsafe extern "C" fn mraa_i2c_frequency(
    dev: mraa_i2c_context,
    mode: mraa_i2c_mode_t
) -> mraa_result_t

Sets the frequency of the i2c context. Most platforms do not support this.

@param dev The i2c context @param mode The bus mode @return Result of operation