embassy-stm32

Crates

git

Versions

stm32l4p5ae

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 PB14

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 PE14

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PF2

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PG9

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PH11

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PH15

Available on non-afio only.
Source§

impl D2Src<OCTOSPI1, $src> for PI9

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PA7

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PB14

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 PE14

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PF2

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PG9

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PH11

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PH15

Available on non-afio only.
Source§

impl D2Src<OCTOSPI2, $src> for PI9

Available on non-afio only.