embassy-stm32

Crates

git

Versions

stm32f722ic

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<UART4> for PA15

Available on non-afio only.
Source§

impl DePin<UART5> for PC8

Available on non-afio only.
Source§

impl DePin<UART7> for PE9

Available on non-afio only.
Source§

impl DePin<UART7> for PF8

Available on non-afio only.
Source§

impl DePin<UART8> for PD15

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.
Source§

impl DePin<USART2> for PD4

Available on non-afio only.
Source§

impl DePin<USART3> for PB14

Available on non-afio only.
Source§

impl DePin<USART3> for PD12

Available on non-afio only.
Source§

impl DePin<USART6> for PG8

Available on non-afio only.
Source§

impl DePin<USART6> for PG12

Available on non-afio only.