embassy-stm32

Crates

git

Versions

stm32h747xg-cm4

Flavors

RtsPin

Trait RtsPin 

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

RtsPin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

Get the AF number needed to use this pin as RtsPin

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 RtsPin<LPUART1> for PA12

Available on non-afio only.
Source§

impl RtsPin<UART4> for PA15

Available on non-afio only.
Source§

impl RtsPin<UART4> for PB14

Available on non-afio only.
Source§

impl RtsPin<UART5> for PC8

Available on non-afio only.
Source§

impl RtsPin<UART7> for PE9

Available on non-afio only.
Source§

impl RtsPin<UART7> for PF8

Available on non-afio only.
Source§

impl RtsPin<UART8> for PD15

Available on non-afio only.
Source§

impl RtsPin<USART1> for PA12

Available on non-afio only.
Source§

impl RtsPin<USART2> for PA1

Available on non-afio only.
Source§

impl RtsPin<USART2> for PD4

Available on non-afio only.
Source§

impl RtsPin<USART3> for PB14

Available on non-afio only.
Source§

impl RtsPin<USART3> for PD12

Available on non-afio only.
Source§

impl RtsPin<USART6> for PG8

Available on non-afio only.
Source§

impl RtsPin<USART6> for PG12

Available on non-afio only.