embassy-stm32

Crates

git

Versions

stm32g0b1rc

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 PA2

Available on non-afio only.
Source§

impl I2sSdPin<SPI1> for PA7

Available on non-afio only.
Source§

impl I2sSdPin<SPI1> for PA12

Available on non-afio only.
Source§

impl I2sSdPin<SPI1> for PB5

Available on non-afio only.
Source§

impl I2sSdPin<SPI1> for PD6

Available on non-afio only.
Source§

impl I2sSdPin<SPI2> for PA4

Available on non-afio only.
Source§

impl I2sSdPin<SPI2> for PA10

Available on non-afio only.
Source§

impl I2sSdPin<SPI2> for PB7

Available on non-afio only.
Source§

impl I2sSdPin<SPI2> for PB11

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<SPI2> for PD4

Available on non-afio only.