embassy-mspm0

Crates

git

Versions

mspm0l1304rge

Flavors

Trait SdaPin

Source
pub trait SdaPin<T: Instance>: Pin {
    // Required method
    fn pf_num(&self) -> u8;
}
Expand description

I2C SDA pin trait

Required Methods§

Source

fn pf_num(&self) -> u8

Get the PF number needed to use this pin as SDA.

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§