Function bl602_sdk::i2c::set_freq[][src]

pub fn set_freq(freq: c_int, i2cx: c_int) -> BlResult<()>
Expand description

Set the Frequency of an I2C Port. See i2c_set_freq in “Assign I2C Pins and set I2C Frequency” https://lupyuen.github.io/articles/i2c#assign-i2c-pins-and-set-i2c-frequency