embassy-stm32

Crates

git

Versions

stm32f745ve

Flavors

embassy_stm32::spdifrx

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", so this trait is not object safe.

Implementors§