embassy-stm32

Crates

git

Versions

stm32f101rc

Flavors

Module gpio

Source
Expand description

General-purpose Input/Output (GPIO)

Structs§

AfType
Alternate function type settings.
AfioRemap
Holds the AFIO remap value for a peripheral’s pin
AfioRemapBool
Holds the AFIO remap value for a peripheral’s pin
AfioRemapNotApplicable
Placeholder for a peripheral’s pin which cannot be remapped via AFIO.
AnyPin
Type-erased GPIO pin
Flex
GPIO flexible pin.
Input
GPIO input driver.
Output
GPIO output driver.
OutputOpenDrain
GPIO output open-drain driver.

Enums§

Level
Digital input or output level.
OutputType
GPIO output type
Pull
Pull setting for an input.
Speed
Speed setting for an output.

Traits§

Pin
GPIO pin trait.