Struct stm32f30x_hal::gpio::gpiob::PB6 [] [src]

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

Pin

Methods

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

[src]

Enables / disables the internal pull up

impl<MODE> PB6<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 PB6<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

impl SclPin<I2C1> for PB6<AF4>
[src]

impl TxPin<USART1> for PB6<AF7>
[src]