embassy-rp

Crates

git

Versions

rp2040

Flavors

Module gpio

Source
Expand description

GPIO driver.

Structs§

AnyPin
Type-erased GPIO pin
DormantWake
Dormant wake driver.
DormantWakeConfig
Dormant mode config.
Flex
GPIO flexible pin.
Input
GPIO input driver.
Output
GPIO output driver.
OutputOpenDrain
GPIO output open-drain.

Enums§

Bank
A GPIO bank with up to 32 pins.
Drive
Drive strength of an output
InterruptTrigger
Interrupt trigger levels.
Level
Represents a digital input or output level.
Pull
Represents a pull setting for an input.
SlewRate
Slew rate of an output

Traits§

Pin
Interface for a Pin that can be configured by an Input or Output driver, or converted to an AnyPin.