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

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

Pin

Methods

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

Drives the pin high Read more

Drives the pin low Read more

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

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

Is the input pin high?

Is the input pin low?

impl Pins<TIM2> for PA0<Alternate<PushPull>>
[src]

REMAP: u8 = 0

C1: bool = true

C2: bool = false

C3: bool = false

C4: bool = false

Auto Trait Implementations

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

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