Struct e310x_hal::gpio::gpio0::Pin21[][src]

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

Pin

Implementations

Configures the pin to serve as alternate function 0 (AF0)

Configures the pin to serve as alternate function 1 (AF1)

Configures the pin to serve as inverted alternate function 0 (AF0)

Configures the pin to serve as inverted alternate function 1 (AF1)

Configures the pin to serve as a floating input pin

Configures the pin to operate as a pulled down input pin

Configures the pin to operate as an output pin

Configures the pin to operate as an inverted output pin

Configure the pin to operate as an output pin with high current drive

Configure the pin to operate as an inverted output pin with high current drive

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

Is the pin in drive high mode? Read more

Is the pin in drive low mode? Read more

Toggles the pin state.

Error type

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.