embassy-stm32

Crates

git

Versions

stm32h7b3zi

Flavors

D2Pin

Trait D2Pin 

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

D2Pin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D2Pin

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 D2Pin<OCTOSPI1> for PA7

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI1> for PC2

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI1> for PE2

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI1> for PF2

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI1> for PF7

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI2> for PA7

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI2> for PC2

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI2> for PE2

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI2> for PF2

Available on non-afio only.
Source§

impl D2Pin<OCTOSPI2> for PF7

Available on non-afio only.