embassy-stm32

Crates

git

Versions

stm32u535re

Flavors

Skip to main content

D7Pin

Trait D7Pin 

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

D7Pin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D7Pin.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl D7Pin<OCTOSPI1> for PC0

Available on non-afio only.
Source§

impl D7Pin<OCTOSPI1> for PC4

Available on non-afio only.