embassy-stm32

Crates

git

Versions

stm32l4r5vi

Flavors

D7Src

Trait D7Src 

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

D7Src pin trait

Required Methods§

Source

fn af_num(&self) -> u8

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

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 D7Src<OCTOSPI1, $src> for PA6

Available on non-afio only.
Source§

impl D7Src<OCTOSPI1, $src> for PC4

Available on non-afio only.
Source§

impl D7Src<OCTOSPI1, $src> for PD7

Available on non-afio only.
Source§

impl D7Src<OCTOSPI1, $src> for PE15

Available on non-afio only.
Source§

impl D7Src<OCTOSPI2, $src> for PA6

Available on non-afio only.
Source§

impl D7Src<OCTOSPI2, $src> for PC4

Available on non-afio only.
Source§

impl D7Src<OCTOSPI2, $src> for PD7

Available on non-afio only.
Source§

impl D7Src<OCTOSPI2, $src> for PE15

Available on non-afio only.