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

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

Pin

Methods

impl<MODE> PA0<MODE>
[src]

[src]

Configures the pin to serve as alternate function 4 (AF4)

[src]

Configures the pin to serve as alternate function 5 (AF5)

[src]

Configures the pin to serve as alternate function 6 (AF6)

[src]

Configures the pin to serve as alternate function 7 (AF7)

[src]

Configures the pin to operate as a floating input pin

[src]

Configures the pin to operate as a pulled down input pin

[src]

Configures the pin to operate as a pulled up input pin

[src]

Configures the pin to operate as an open drain output pin

[src]

Configures the pin to operate as an push pull output pin

impl PA0<Output<OpenDrain>>
[src]

[src]

Enables / disables the internal pull up

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

[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]

[src]

Is the output pin high?

[src]

Is the output pin low?

[src]

Sets the pin high

[src]

Sets the pin low