[−][src]Function mynewt::hw::hal::hal_i2c_config
pub unsafe extern "C" fn hal_i2c_config(
i2c_num: u8,
cfg: *const hal_i2c_settings
) -> c_int
Configure I2C controller
This configures I2C controller for operation. Can be called multiple times.
i2c_num
: Number of I2C controllercfg
: Configuration