embassy-stm32

Crates

git

Versions

stm32h7s7i8

Flavors

Trait NCSEither

Source
pub trait NCSEither<T: Instance>: NCSPin<T> {
    // Required method
    fn sel(&self) -> u8;
}
Expand description

Trait for either NCS1 or NCS2 pins

Required Methods§

Source

fn sel(&self) -> u8

Get the CSSEL for this NCS 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§