Struct stm32f103xx_hal::gpio::gpiob::PB9[][src]

pub struct PB9<MODE> { /* fields omitted */ }

Pin

Methods

impl<MODE> PB9<MODE>
[src]

Configures the pin to operate as an alternate function push pull output pin

Configures the pin to operate as a floating input pin

Configures the pin to operate as an push pull output pin

impl<MODE> PB9<Output<MODE>>
[src]

Erases the pin number from the type

This is useful when you want to collect the pins into an array where you need all the elements to have the same type

Trait Implementations

impl<MODE> OutputPin for PB9<Output<MODE>>
[src]

Drives the pin high Read more

Drives the pin low Read more

impl<MODE> StatefulOutputPin for PB9<Output<MODE>>
[src]

Is the pin in drive high mode? Read more

Is the pin in drive low mode? Read more

impl<MODE> Default for PB9<Output<MODE>>
[src]

impl<MODE> InputPin for PB9<Input<MODE>>
[src]

Is the input pin high?

Is the input pin low?

Auto Trait Implementations

impl<MODE> Send for PB9<MODE> where
    MODE: Send

impl<MODE> Sync for PB9<MODE> where
    MODE: Sync