embassy-stm32

Crates

git

Versions

stm32g473vc

Flavors

SdaPin

Trait SdaPin 

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

SdaPin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

Get the AF number needed to use this pin as SdaPin

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 SdaPin<I2C1> for PA14

Available on non-afio only.
Source§

impl SdaPin<I2C1> for PB7

Available on non-afio only.
Source§

impl SdaPin<I2C1> for PB9

Available on non-afio only.
Source§

impl SdaPin<I2C2> for PA8

Available on non-afio only.
Source§

impl SdaPin<I2C2> for PF0

Available on non-afio only.
Source§

impl SdaPin<I2C3> for PB5

Available on non-afio only.
Source§

impl SdaPin<I2C3> for PC9

Available on non-afio only.
Source§

impl SdaPin<I2C3> for PC11

Available on non-afio only.
Source§

impl SdaPin<I2C4> for PB7

Available on non-afio only.
Source§

impl SdaPin<I2C4> for PC7

Available on non-afio only.