embassy-stm32

Crates

git

Versions

stm32f769ii

Flavors

Skip to main content

NE2Pin

Trait NE2Pin 

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

NE2Pin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl NE2Pin<FMC> for PC8

Available on non-afio only.
Source§

impl NE2Pin<FMC> for PG9

Available on non-afio only.