I2cInit

Trait I2cInit 

Source
pub trait I2cInit<T> {
    // Required method
    fn init<OS: OsInterface>(self, mcu: &mut Mcu) -> I2c<OS, T>;
}

Required Methods§

Source

fn init<OS: OsInterface>(self, mcu: &mut Mcu) -> I2c<OS, T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl I2cInit<Periph<RegisterBlock, 1073763328>> for I2C1

Source§

impl I2cInit<Periph<RegisterBlock, 1073764352>> for I2C2