Struct stm32f4xx_hal::gpio::DynamicPin[][src]

pub struct DynamicPin<const P: char, const N: u8> { /* fields omitted */ }
Expand description

Pin type with dynamic mode

  • P is port name: A for GPIOA, B for GPIOB, etc.
  • N is pin number: from 0 to 15.

Implementations

Trait Implementations

Error type

Is the input pin high?

Is the input pin low?

Error type

Drives the pin high Read more

Drives the pin low Read more

Drives the pin high or low depending on the provided value Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.