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]

Drives the pin high Read more

[src]

Drives the pin low Read more

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

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

Auto Trait Implementations

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

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