Struct kea_hal::gpio::gpiob::PTE2[][src]

pub struct PTE2<MODE> { /* fields omitted */ }
Expand description

a GPIO Port Pin

Implementations

Implements the I/O type conversion methods

Configure as floating

Configure as pull up input

Configure as PushPull output

Configure into High Impedence output

Trait Implementations

Error type

Is the input pin high?

Is the input pin low?

Performs the conversion.

Performs the conversion.

Performs the conversion.

Error type

Drives the pin high Read more

Drives the pin low Read more

Is the pin in drive high mode? Read more

Is the pin in drive low mode? Read more

Error type

Toggle pin output.

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.

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.