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

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

Pin

Methods

impl<MODE> PB0<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> PB0<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 PB0<Output<MODE>>
[src]

Drives the pin high Read more

Drives the pin low Read more

impl<MODE> StatefulOutputPin for PB0<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 PB0<Output<MODE>>
[src]

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

Is the input pin high?

Is the input pin low?

Auto Trait Implementations

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

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