embassy-stm32

Crates

git

Versions

stm32l053c6

Flavors

DePin

Trait DePin 

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

DePin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DePin

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 DePin<LPUART1> for PB1

Available on non-afio only.
Source§

impl DePin<LPUART1> for PB12

Available on non-afio only.
Source§

impl DePin<LPUART1> for PB14

Available on non-afio only.
Source§

impl DePin<USART1> for PA12

Available on non-afio only.
Source§

impl DePin<USART2> for PA1

Available on non-afio only.