embassy-stm32

Crates

git

Versions

stm32h7b0zb

Flavors

D2Src

Trait D2Src 

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

D2Src pin trait

Required Methods§

Source

fn af_num(&self) -> u8

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

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 D2Src<OCTOSPI1, $src> for PA7

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PC2

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PC3

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PD6

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PE2

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PE9

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PF2

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PF7

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PG9

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PG10

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PA7

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PC2

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PC3

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PD6

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PE2

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PE9

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PF2

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PF7

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PG9

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PG10

Available on non-afio only.