embassy-stm32

Crates

git

Versions

stm32h723vg

Flavors

SckSrc

Trait SckSrc 

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

SckSrc pin trait

Required Methods§

Source

fn af_num(&self) -> u8

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

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§

Source§

impl SckSrc<OCTOSPI1, $src> for PA3

Available on non-afio only.
Source§

impl SckSrc<OCTOSPI1, $src> for PB2

Available on non-afio only.
Source§

impl SckSrc<OCTOSPI2, $src> for PA3

Available on non-afio only.
Source§

impl SckSrc<OCTOSPI2, $src> for PB2

Available on non-afio only.