embassy-mspm0

Crates

git

Versions

mspm0g1107rge

Flavors

Trait SclPin

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

I2C SCL pin trait

Required Methods§

Source

fn pf_num(&self) -> u8

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

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§