embassy-stm32

Crates

git

Versions

stm32h757zi-cm7

Flavors

Skip to main content

InPin

Trait InPin 

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

SPIDFRX pin trait

Required Methods§

Source

fn af_num(&self) -> u8

Get the GPIO AF number needed to use this pin.

Source

fn input_sel(&self) -> u8

Get the SPIDFRX INSEL number needed to use this pin.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§