Trait PPSPin

Source
pub unsafe trait PPSPin {
    type Output;

    // Required method
    fn enable(self) -> Self::Output;
}
Expand description

Pins that can be used as PPS output

SAFETY: only pins that are capable of being a PPS output according to the datasheets of respective parts may implement this trait.

Required Associated Types§

Source

type Output

The output type of this pin, in which it acts as a PPS output.

Required Methods§

Source

fn enable(self) -> Self::Output

Enable the PPS output.

Implementations on Foreign Types§

Source§

impl PPSPin for PB5<Output<PushPull>>

Source§

type Output = Pin<'B', 5, Alternate<11>>

Source§

fn enable(self) -> Self::Output

Source§

impl PPSPin for PG8<Output<PushPull>>

Source§

type Output = Pin<'G', 8, Alternate<11>>

Source§

fn enable(self) -> Self::Output

Implementors§