embassy-stm32

Crates

git

Versions

stm32f412re

Flavors

I2sSdPin

Trait I2sSdPin 

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

I2sSdPin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

Get the AF number needed to use this pin as I2sSdPin

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 I2sSdPin<SPI1> for PA7

Available on non-afio only.
Source§

impl I2sSdPin<SPI1> for PB5

Available on non-afio only.
Source§

impl I2sSdPin<SPI2> for PB15

Available on non-afio only.
Source§

impl I2sSdPin<SPI2> for PC3

Available on non-afio only.
Source§

impl I2sSdPin<SPI3> for PB5

Available on non-afio only.
Source§

impl I2sSdPin<SPI3> for PC12

Available on non-afio only.
Source§

impl I2sSdPin<SPI4> for PA1

Available on non-afio only.
Source§

impl I2sSdPin<SPI5> for PA10

Available on non-afio only.
Source§

impl I2sSdPin<SPI5> for PB8

Available on non-afio only.