embassy-stm32

Crates

git

Versions

stm32g544rb

Flavors

Skip to main content

SckPin

Trait SckPin 

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

SckPin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl SckPin<SPI1> for PB0

Available on non-afio only.
Source§

impl SckPin<SPI1> for PG3

Available on non-afio only.
Source§

impl SckPin<SPI2> for PB13

Available on non-afio only.
Source§

impl SckPin<SPI2> for PH0

Available on non-afio only.
Source§

impl SckPin<SPI2> for PH1

Available on non-afio only.