embassy-stm32

Crates

git

Versions

stm32c531cb

Flavors

Skip to main content

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".

Implementors§

Source§

impl SdaPin<I3C1> for PA8

Available on non-afio only.
Source§

impl SdaPin<I3C1> for PB3

Available on non-afio only.
Source§

impl SdaPin<I3C1> for PB5

Available on non-afio only.
Source§

impl SdaPin<I3C1> for PB7

Available on non-afio only.
Source§

impl SdaPin<I3C1> for PB9

Available on non-afio only.