Struct stm32f103xx_hal::gpio::gpiob::PB10 [] [src]

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

Pin

Methods

impl<MODE> PB10<MODE>
[src]

[src]

Configures the pin to operate as an alternate function push pull output pin

[src]

Configures the pin to operate as a floating input pin

[src]

Configures the pin to operate as an push pull output pin

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