riot_wrappers::i2c::impl_1

Function with_acquire

Source
fn with_acquire<R>(
    dev: &mut I2CDevice,
    f: impl FnOnce(&mut I2CDevice) -> R,
) -> R
Available on riot_module_periph_i2c only.