embassy-stm32

Crates

git

Versions

stm32l4r5vi

Flavors

D4Src

Trait D4Src 

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

D4Src pin trait

Required Methods§

Source

fn af_num(&self) -> u8

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

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 D4Src<OCTOSPI1, $src> for PB1

Available on non-afio only.
Source§

impl D4Src<OCTOSPI1, $src> for PC1

Available on non-afio only.
Source§

impl D4Src<OCTOSPI1, $src> for PD4

Available on non-afio only.
Source§

impl D4Src<OCTOSPI1, $src> for PE12

Available on non-afio only.
Source§

impl D4Src<OCTOSPI2, $src> for PB1

Available on non-afio only.
Source§

impl D4Src<OCTOSPI2, $src> for PC1

Available on non-afio only.
Source§

impl D4Src<OCTOSPI2, $src> for PD4

Available on non-afio only.
Source§

impl D4Src<OCTOSPI2, $src> for PE12

Available on non-afio only.