Struct stm32f103xx_hal::gpio::gpioa::PA12[][src]

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

Pin

Methods

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

Drives the pin high Read more

Drives the pin low Read more

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

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

Is the input pin high?

Is the input pin low?

Auto Trait Implementations

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

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