embassy-stm32

Crates

git

Versions

stm32g483re

Flavors

OutputPin

Trait OutputPin 

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

OutputPin pin trait

Required Methods§

Source

fn af_num(&self) -> u8

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

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 OutputPin<COMP1> for PA0

Available on non-afio only.
Source§

impl OutputPin<COMP1> for PA6

Available on non-afio only.
Source§

impl OutputPin<COMP1> for PA11

Available on non-afio only.
Source§

impl OutputPin<COMP1> for PB8

Available on non-afio only.
Source§

impl OutputPin<COMP2> for PA2

Available on non-afio only.
Source§

impl OutputPin<COMP2> for PA7

Available on non-afio only.
Source§

impl OutputPin<COMP2> for PA12

Available on non-afio only.
Source§

impl OutputPin<COMP2> for PB9

Available on non-afio only.
Source§

impl OutputPin<COMP3> for PB7

Available on non-afio only.
Source§

impl OutputPin<COMP3> for PB15

Available on non-afio only.
Source§

impl OutputPin<COMP3> for PC2

Available on non-afio only.
Source§

impl OutputPin<COMP4> for PB1

Available on non-afio only.
Source§

impl OutputPin<COMP4> for PB6

Available on non-afio only.
Source§

impl OutputPin<COMP4> for PB14

Available on non-afio only.
Source§

impl OutputPin<COMP5> for PA9

Available on non-afio only.
Source§

impl OutputPin<COMP5> for PC7

Available on non-afio only.
Source§

impl OutputPin<COMP6> for PA10

Available on non-afio only.
Source§

impl OutputPin<COMP6> for PC6

Available on non-afio only.
Source§

impl OutputPin<COMP7> for PA8

Available on non-afio only.
Source§

impl OutputPin<COMP7> for PC8

Available on non-afio only.