Trait stm32_eth::ptp::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>>

§

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

source§

fn enable(self) -> Self::Output

source§

impl PPSPin for PG8<Output<PushPull>>

§

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

source§

fn enable(self) -> Self::Output

Implementors§